summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes_applet.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-02-26 13:31:54 +0300
committerStefano Karapetsas <[email protected]>2015-03-15 18:58:51 +0100
commitdccdd8a292968073eae062a7b602a13e212a8dad (patch)
treec0d7cec3105fcbc9eda2cea67fbf427c33afe4a6 /stickynotes/stickynotes_applet.c
parent9ff3e1b03e0beae87a6a77451c738cc8f34ec7c8 (diff)
downloadmate-applets-dccdd8a292968073eae062a7b602a13e212a8dad.tar.bz2
mate-applets-dccdd8a292968073eae062a7b602a13e212a8dad.tar.xz
stickynotes: more small fixes
Diffstat (limited to 'stickynotes/stickynotes_applet.c')
-rw-r--r--stickynotes/stickynotes_applet.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c
index eb50f36d..79085cad 100644
--- a/stickynotes/stickynotes_applet.c
+++ b/stickynotes/stickynotes_applet.c
@@ -170,10 +170,8 @@ stickynotes_applet_init (MatePanelApplet *mate_panel_applet)
stickynotes_applet_init_prefs();
/* Watch GSettings values */
- g_signal_connect (stickynotes->settings,
- "changed",
- G_CALLBACK (preferences_apply_cb),
- NULL);
+ g_signal_connect (stickynotes->settings, "changed",
+ G_CALLBACK (preferences_apply_cb), NULL);
/* Max height for large notes*/
stickynotes->max_height = 0.8*gdk_screen_get_height( gdk_screen_get_default() );
@@ -467,9 +465,9 @@ stickynotes_applet_update_prefs (void)
sys_font = g_settings_get_boolean (stickynotes->settings, "use-system-font");
sticky = g_settings_get_boolean (stickynotes->settings, "sticky");
force_default = g_settings_get_boolean (stickynotes->settings, "force-default");
- font_str = g_settings_get_string (stickynotes->settings, "default-font");
desktop_hide = g_settings_get_boolean (stickynotes->settings, "desktop-hide");
+ font_str = g_settings_get_string (stickynotes->settings, "default-font");
if (!font_str)
{
font_str = g_strdup ("Sans 10");