aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-ui.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-09 21:52:45 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-09 21:52:45 +0800
commita6c15fb7c0718216ea3950324fd6465f334d16dc (patch)
tree14ac97b90d9fe663f1af63d0ab4e011a474b2975 /src/bookmarks/ephy-bookmarks-ui.c
parent119a3c3c65eee95efaa155ba06635f693e79ecfc (diff)
downloadgsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar.gz
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar.bz2
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar.lz
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar.xz
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.tar.zst
gsoc2013-epiphany-a6c15fb7c0718216ea3950324fd6465f334d16dc.zip
Misc code cleanups: fewer gobject casts, disconnect handlers, save a few
2006-02-09 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url), (ephy_bookmark_action_sync_icon), (connect_proxy), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_get_property), (ephy_bookmark_action_init), (ephy_bookmark_action_dispose), (ephy_bookmark_action_class_init), (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_window): * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (ephy_related_action_new): * src/bookmarks/ephy-topics-entry.c: * src/bookmarks/ephy-topics-entry.h: Misc code cleanups: fewer gobject casts, disconnect handlers, save a few strdups etc.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-ui.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c
index 199e8d5bc..acf9a0b0c 100644
--- a/src/bookmarks/ephy-bookmarks-ui.c
+++ b/src/bookmarks/ephy-bookmarks-ui.c
@@ -251,14 +251,14 @@ ephy_bookmarks_ui_attach_window (EphyWindow *window)
/* Create the self-maintaining action groups for bookmarks and topics */
actions = ephy_bookmark_group_new (bookmarks);
gtk_ui_manager_insert_action_group (manager, actions, -1);
- g_signal_connect_object (G_OBJECT (actions), "open-link",
+ g_signal_connect_object (actions, "open-link",
G_CALLBACK (ephy_link_open), G_OBJECT (window),
G_CONNECT_SWAPPED | G_CONNECT_AFTER);
- g_object_unref (G_OBJECT (actions));
+ g_object_unref (actions);
actions = ephy_topic_group_new (topics, manager);
gtk_ui_manager_insert_action_group (manager, actions, -1);
- g_object_unref (G_OBJECT (actions));
+ g_object_unref (actions);
actions = ephy_open_tabs_group_new (topics);
gtk_ui_manager_insert_action_group (manager, actions, -1);