diff options
Diffstat (limited to 'stickynotes/stickynotes_applet.c')
-rw-r--r-- | stickynotes/stickynotes_applet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c index f7fbb853..133ca2bf 100644 --- a/stickynotes/stickynotes_applet.c +++ b/stickynotes/stickynotes_applet.c @@ -448,13 +448,13 @@ void stickynotes_applet_update_icon(StickyNotesApplet *applet) void stickynotes_applet_update_prefs (void) { - int height; + gint width, height; gboolean sys_color, sys_font, sticky, force_default, desktop_hide; char *font_str; char *color_str, *font_color_str; GdkColor color, font_color; - gint width = g_settings_get_int (stickynotes->settings, "default-width"); + width = g_settings_get_int (stickynotes->settings, "default-width"); width = MAX (width, 1); height = g_settings_get_int (stickynotes->settings, "default-height"); |