[nautilus/wip/antoniof/update-starred-uris] fixup! Missing cast and style changes
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/update-starred-uris] fixup! Missing cast and style changes
- Date: Thu, 10 Sep 2020 16:59:42 +0000 (UTC)
commit 3bb77adbe63134d0701425467f28f09fb237ecee
Author: António Fernandes <antoniojpfernandes gmail com>
Date: Thu Sep 10 16:59:41 2020 +0000
fixup! Missing cast and style changes
src/nautilus-tag-manager.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c
index c9e0fccf7..649ccd765 100644
--- a/src/nautilus-tag-manager.c
+++ b/src/nautilus-tag-manager.c
@@ -735,8 +735,8 @@ update_moved_uris_callback (GObject *object,
* @self: The tag manager singleton
* @src: The original location as a #GFile
* @dest: The new location as a #GFile
- *
- * Checks whether the rename/move operation (@src to @dest) has modified
+ *
+ * Checks whether the rename/move operation (@src to @dest) has modified
* the URIs of any starred files, and updates the database accordingly.
*/
void
@@ -747,8 +747,8 @@ nautilus_tag_manager_update_moved_uris (NautilusTagManager *self,
GHashTableIter starred_iter;
gchar *starred_uri;
g_autoptr (GString) query = NULL;
- g_autoptr (GList/*<unowned gchar*>*/) old_uris = NULL;
- g_autoptr (GList/*<owned gchar*>*/) new_uris = NULL;
+ g_autoptr (GList /* <unowned gchar*> */) old_uris = NULL;
+ g_autoptr (GList /* <owned gchar*> */) new_uris = NULL;
if (!self->database_ok)
{
@@ -757,7 +757,7 @@ nautilus_tag_manager_update_moved_uris (NautilusTagManager *self,
}
g_hash_table_iter_init (&starred_iter, self->starred_file_uris);
- while (g_hash_table_iter_next (&starred_iter, &starred_uri, NULL))
+ while (g_hash_table_iter_next (&starred_iter, (gpointer *) &starred_uri, NULL))
{
g_autoptr (GFile) starred_location = NULL;
g_autofree gchar *relative_path = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]