summaryrefslogtreecommitdiff
path: root/src/nautilus-bookmark-list.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-12-07 00:55:34 +0000
committerDarin Adler <darin@src.gnome.org>2001-12-07 00:55:34 +0000
commit5a749ac98270580a000c42a196b917c005d63fc8 (patch)
treee79773b2b0b0424a4cb192eb016efe6cfd28e7df /src/nautilus-bookmark-list.c
parent60c93330fba3a0bb93d7f7d09431e94209483775 (diff)
downloadnautilus-5a749ac98270580a000c42a196b917c005d63fc8.tar.gz
lots of files Get rid of casts in callers to g_object_ref/g_object_unref.
* lots of files Get rid of casts in callers to g_object_ref/g_object_unref. Remove parameters to eel_make_warnings_and_criticals_stop_in_debugger.
Diffstat (limited to 'src/nautilus-bookmark-list.c')
-rw-r--r--src/nautilus-bookmark-list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-bookmark-list.c b/src/nautilus-bookmark-list.c
index 7c76de3c4..861cb3f72 100644
--- a/src/nautilus-bookmark-list.c
+++ b/src/nautilus-bookmark-list.c
@@ -284,7 +284,7 @@ nautilus_bookmark_list_delete_item_at (NautilusBookmarkList *bookmarks,
g_assert (NAUTILUS_IS_BOOKMARK (doomed->data));
stop_monitoring_bookmark (bookmarks, NAUTILUS_BOOKMARK (doomed->data));
- g_object_unref (G_OBJECT (doomed->data));
+ g_object_unref (doomed->data);
g_list_free_1 (doomed);
@@ -317,7 +317,7 @@ nautilus_bookmark_list_delete_items_with_uri (NautilusBookmarkList *bookmarks,
if (eel_strcmp (bookmark_uri, uri) == 0) {
bookmarks->list = g_list_remove_link (bookmarks->list, node);
stop_monitoring_bookmark (bookmarks, NAUTILUS_BOOKMARK (node->data));
- g_object_unref (G_OBJECT (node->data));
+ g_object_unref (node->data);
g_list_free_1 (node);
list_changed = TRUE;
}
@@ -473,7 +473,7 @@ nautilus_bookmark_list_new (void)
NautilusBookmarkList *list;
list = NAUTILUS_BOOKMARK_LIST (g_object_new (NAUTILUS_TYPE_BOOKMARK_LIST, NULL));
- g_object_ref (G_OBJECT (list));
+ g_object_ref (list);
gtk_object_sink (GTK_OBJECT (list));
return list;