summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-16 13:21:30 +0200
committerraveit65 <[email protected]>2019-06-18 10:07:19 +0200
commit66368a189dea7ab666cb4089ee30b6ba04ba5132 (patch)
tree3d62c86143e83d6190578c20d2fe9714746b8eb5 /libslab
parent5caf5bd5aa799c35050c728f72617ad6b03fb0d7 (diff)
downloadmate-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 'libslab')
-rw-r--r--libslab/application-tile.c2
-rw-r--r--libslab/bookmark-agent.c14
-rw-r--r--libslab/nameplate-tile.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/libslab/application-tile.c b/libslab/application-tile.c
index 53f46c75..f5b8348b 100644
--- a/libslab/application-tile.c
+++ b/libslab/application-tile.c
@@ -665,7 +665,7 @@ get_desktop_item_startup_status (MateDesktopItem *desktop_item)
StartupStatus retval;
gint x;
-
+
filename = g_filename_from_uri (mate_desktop_item_get_location (desktop_item), NULL, NULL);
if (!filename)
return APP_NOT_ELIGIBLE;
diff --git a/libslab/bookmark-agent.c b/libslab/bookmark-agent.c
index 9c2cbb40..15ed3161 100644
--- a/libslab/bookmark-agent.c
+++ b/libslab/bookmark-agent.c
@@ -222,7 +222,7 @@ bookmark_agent_purge_items (BookmarkAgent *this)
gsize uris_len;
gint i;
g_return_if_fail (priv->user_modifiable);
-
+
uris = g_bookmark_file_get_uris (priv->store, &uris_len);
if (TYPE_IS_RECENT (priv->type)) {
for (i = 0; i < uris_len; i++) {
@@ -277,7 +277,7 @@ bookmark_agent_remove_item (BookmarkAgent *this, const gchar *uri)
if (rank >= 0) {
uris = g_bookmark_file_get_uris (priv->store, NULL);
-
+
for (i = 0; uris && uris [i]; ++i) {
rank_i = get_rank (this, uris [i]);
@@ -865,7 +865,7 @@ load_places_store (BookmarkAgent *this)
gchar **uris;
gchar **groups;
gchar **bookmarks = NULL;
-
+
gchar *buf, *label, *uri;
gint i, j, bookmark_len;
@@ -928,10 +928,10 @@ find_package_data_file (const gchar *filename)
dirs = g_get_system_data_dirs ();
-
+
for (i = 0; ! path && dirs && dirs [i]; ++i) {
path = g_build_filename (dirs [i], PACKAGE, filename, NULL);
-
+
if (! g_file_test (path, G_FILE_TEST_EXISTS)) {
g_free (path);
path = NULL;
@@ -967,7 +967,7 @@ update_user_spec_path (BookmarkAgent *this)
status = BOOKMARK_STORE_DEFAULT_ONLY;
else
status = BOOKMARK_STORE_ABSENT;
-
+
if (priv->status != status) {
priv->status = status;
g_object_notify (G_OBJECT (this), BOOKMARK_AGENT_STORE_STATUS_PROP);
@@ -1193,7 +1193,7 @@ create_dir_item (BookmarkAgent *this, const gchar *uri)
if (name)
g_bookmark_file_set_title (priv->store, uri, name);
-
+
if (uri_new && libslab_strcmp (uri, uri_new))
g_bookmark_file_move_item (priv->store, uri, uri_new, NULL);
diff --git a/libslab/nameplate-tile.c b/libslab/nameplate-tile.c
index cdf3c50b..315524ab 100644
--- a/libslab/nameplate-tile.c
+++ b/libslab/nameplate-tile.c
@@ -55,7 +55,7 @@ GtkWidget *nameplate_tile_new (const gchar * uri, GtkWidget * image, GtkWidget *
"tile-uri", uri,
"nameplate-image", image,
"nameplate-header", header,
- "nameplate-subheader", subheader,
+ "nameplate-subheader", subheader,
NULL));
}