Reverted last commit

master
Yevgen Muntyan 2008-05-16 08:16:15 -05:00
parent 6bc5eb9e41
commit ee7c49a0af
5 changed files with 14 additions and 14 deletions

View File

@ -1050,7 +1050,7 @@ moo_edit_apply_lang_config (MooEdit *edit)
static void
moo_edit_apply_config (MooEdit *edit)
{
int wrap_mode;
GtkWrapMode wrap_mode;
gboolean line_numbers;
guint tab_width;
char *word_chars;

View File

@ -1776,7 +1776,7 @@ wrap_text_toggled (MooEditWindow *window,
gboolean active)
{
MooEdit *doc;
int mode;
GtkWrapMode mode;
doc = ACTIVE_DOC (window);
g_return_if_fail (doc != NULL);
@ -2073,7 +2073,7 @@ edit_wrap_mode_changed (MooEditWindow *window,
MooEdit *doc)
{
gpointer action;
int mode;
GtkWrapMode mode;
if (doc != ACTIVE_DOC (window))
return;

View File

@ -1093,7 +1093,7 @@ get_iter_attrs (MooPrintOperation *op,
if (style_set)
{
int style_value;
PangoStyle style_value;
if (style) pango_attribute_destroy (style);
g_object_get (tag, "style", &style_value, NULL);
style = pango_attr_style_new (style_value);
@ -1101,7 +1101,7 @@ get_iter_attrs (MooPrintOperation *op,
if (ul_set)
{
int underline;
PangoUnderline underline;
if (ul) pango_attribute_destroy (ul);
g_object_get (tag, "underline", &underline, NULL);
ul = pango_attr_underline_new (underline);
@ -1109,7 +1109,7 @@ get_iter_attrs (MooPrintOperation *op,
if (weight_set)
{
int weight_value;
PangoWeight weight_value;
if (weight) pango_attribute_destroy (weight);
g_object_get (tag, "weight", &weight_value, NULL);
weight = pango_attr_weight_new (weight_value);

View File

@ -367,7 +367,7 @@ child_set_pane_size (GtkWidget *child,
int size,
MooBigPaned *paned)
{
int pos;
MooPanePosition pos;
g_object_get (child, "pane-position", &pos, NULL);
g_return_if_fail (paned->paned[pos] == child);
@ -381,7 +381,7 @@ sticky_pane_notify (GtkWidget *child,
G_GNUC_UNUSED GParamSpec *pspec,
MooBigPaned *paned)
{
int pos;
MooPanePosition pos;
gboolean sticky;
g_object_get (child, "pane-position", &pos,
@ -400,7 +400,7 @@ active_pane_notify (GtkWidget *child,
G_GNUC_UNUSED GParamSpec *pspec,
MooBigPaned *paned)
{
int pos;
MooPanePosition pos;
MooPane *pane = NULL;
const char *id = NULL;
MooPanedConfig *pc;
@ -680,7 +680,7 @@ moo_big_paned_reorder_pane (MooBigPaned *paned,
{
MooPane *pane;
MooPaned *child;
int old_position;
MooPanePosition old_position;
int old_index;
const char *id;
@ -919,7 +919,7 @@ moo_big_paned_get_property (GObject *object,
GParamSpec *pspec)
{
MooBigPaned *paned = MOO_BIG_PANED (object);
int cursor_type;
GdkCursorType cursor_type;
switch (prop_id)
{
@ -1329,7 +1329,7 @@ get_drop_area (MooBigPaned *paned,
GdkRectangle *button_rect)
{
int width, height, size = 0;
int active_position;
MooPanePosition active_position;
width = paned->priv->outer->allocation.width;
height = paned->priv->outer->allocation.height;

View File

@ -941,7 +941,7 @@ static GtkToolbarStyle
get_toolbar_style_gtk (MooWindow *window)
{
GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET (window));
int style = GTK_TOOLBAR_ICONS;
GtkToolbarStyle style = GTK_TOOLBAR_ICONS;
gpointer toolbar_class;
g_return_val_if_fail (settings != NULL, style);
@ -950,7 +950,7 @@ get_toolbar_style_gtk (MooWindow *window)
g_object_get (settings, "gtk-toolbar-style", &style, NULL);
g_type_class_unref (toolbar_class);
g_return_val_if_fail (0 <= style && style < N_STYLES, 0);
g_return_val_if_fail (style < N_STYLES, 0);
return style;
}