Reverted last commit
parent
6bc5eb9e41
commit
ee7c49a0af
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue