diff options
author | infirit <[email protected]> | 2015-01-05 13:45:19 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2015-01-05 14:17:32 +0100 |
commit | 336b8a375332133fe24413e2f362364399b40f50 (patch) | |
tree | 87373f5ed70585aaed35d2d127f45e5a46477739 /stickynotes/stickynotes_applet.c | |
parent | 14ad0b4e9311e090865e3d613970bdc5b54ef274 (diff) | |
download | mate-applets-336b8a375332133fe24413e2f362364399b40f50.tar.bz2 mate-applets-336b8a375332133fe24413e2f362364399b40f50.tar.xz |
stickynotes: Small cleanups
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"); |