diff options
Diffstat (limited to 'capplets/common')
-rw-r--r-- | capplets/common/activate-settings-daemon.c | 4 | ||||
-rw-r--r-- | capplets/common/gtkrc-utils.c | 6 | ||||
-rw-r--r-- | capplets/common/mate-theme-apply.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/capplets/common/activate-settings-daemon.c b/capplets/common/activate-settings-daemon.c index f82f0353..21fd2b2b 100644 --- a/capplets/common/activate-settings-daemon.c +++ b/capplets/common/activate-settings-daemon.c @@ -23,7 +23,7 @@ static void popup_error_message (void) } /* Returns FALSE if activation failed, else TRUE */ -gboolean +gboolean activate_settings_daemon (void) { DBusGConnection *connection = NULL; @@ -37,7 +37,7 @@ activate_settings_daemon (void) g_error_free (error); return FALSE; } - + proxy = dbus_g_proxy_new_for_name (connection, "org.mate.SettingsDaemon", "/org/mate/SettingsDaemon", diff --git a/capplets/common/gtkrc-utils.c b/capplets/common/gtkrc-utils.c index b3f0c785..011c8a11 100644 --- a/capplets/common/gtkrc-utils.c +++ b/capplets/common/gtkrc-utils.c @@ -46,11 +46,11 @@ gchar* gtkrc_find_named(const gchar* name) /* First look in the users home directory */ home_dir = g_get_home_dir(); - + if (home_dir) { path = g_build_filename(home_dir, ".themes", name, subpath, NULL); - + if (!g_file_test (path, G_FILE_TEST_EXISTS)) { g_free (path); @@ -91,7 +91,7 @@ void gtkrc_get_details(gchar* filename, GSList** engines, GSList** symbolic_colo } files = g_slist_prepend (files, g_strdup (filename)); - + while (files != NULL) { filename = files->data; diff --git a/capplets/common/mate-theme-apply.c b/capplets/common/mate-theme-apply.c index 6f0cc09e..f1de6bd9 100644 --- a/capplets/common/mate-theme-apply.c +++ b/capplets/common/mate-theme-apply.c @@ -58,7 +58,7 @@ mate_meta_theme_set (MateThemeMetaInfo *meta_theme_info) interface_settings = g_settings_new (INTERFACE_SCHEMA); marco_settings = g_settings_new (MARCO_SCHEMA); mouse_settings = g_settings_new (MOUSE_SCHEMA); - + if (mate_gsettings_schema_exists (NOTIFICATION_SCHEMA)) { notification_settings = g_settings_new (NOTIFICATION_SCHEMA); |