From 66368a189dea7ab666cb4089ee30b6ba04ba5132 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 16 Jun 2019 13:21:30 +0200 Subject: Remove trailing whitespaces find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ --- libslab/application-tile.c | 2 +- libslab/bookmark-agent.c | 14 +++++++------- libslab/nameplate-tile.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'libslab') 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)); } -- cgit v1.2.1