aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-24 04:10:49 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-24 04:10:49 +0800
commite551b43db8b8342ec39df544921c39f2e377d5bf (patch)
tree639ada5642e15ecc22ac78815d99205b4876dc87 /src/bookmarks
parent4e884b1c0332c875cb3041daa0626770ee5ec7da (diff)
downloadgsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar.gz
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar.bz2
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar.lz
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar.xz
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.tar.zst
gsoc2013-epiphany-e551b43db8b8342ec39df544921c39f2e377d5bf.zip
Use g_signal_connect_after to connect to the toolbar_added signal,
2004-06-23 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_set_window): * src/toolbar.c: (toolbar_realize): Use g_signal_connect_after to connect to the toolbar_added signal, otherwise the toolbar isn't created yet and we crash when trying to set the drag dests on a newly added toolbar.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarksbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarksbar.c b/src/bookmarks/ephy-bookmarksbar.c
index 1d666c0c4..3855090cc 100644
--- a/src/bookmarks/ephy-bookmarksbar.c
+++ b/src/bookmarks/ephy-bookmarksbar.c
@@ -297,8 +297,8 @@ ephy_bookmarksbar_set_window (EphyBookmarksBar *toolbar,
"ToolbarsModel", model,
NULL);
- g_signal_connect (model, "toolbar_added",
- G_CALLBACK (toolbar_added_cb), toolbar);
+ g_signal_connect_after (model, "toolbar_added",
+ G_CALLBACK (toolbar_added_cb), toolbar);
/* now that the toolbar has been constructed, set drag dests */
n_toolbars = egg_toolbars_model_n_toolbars (model);