diff options
author | rbuj <[email protected]> | 2019-06-16 13:21:30 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-18 10:07:19 +0200 |
commit | 66368a189dea7ab666cb4089ee30b6ba04ba5132 (patch) | |
tree | 3d62c86143e83d6190578c20d2fe9714746b8eb5 /capplets/common | |
parent | 5caf5bd5aa799c35050c728f72617ad6b03fb0d7 (diff) | |
download | mate-control-center-66368a189dea7ab666cb4089ee30b6ba04ba5132.tar.bz2 mate-control-center-66368a189dea7ab666cb4089ee30b6ba04ba5132.tar.xz |
Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
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); |