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 /libslab/bookmark-agent.c | |
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 'libslab/bookmark-agent.c')
-rw-r--r-- | libslab/bookmark-agent.c | 14 |
1 files changed, 7 insertions, 7 deletions
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); |