diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-06-24 04:10:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-06-24 04:10:49 +0800 |
commit | e551b43db8b8342ec39df544921c39f2e377d5bf (patch) | |
tree | 639ada5642e15ecc22ac78815d99205b4876dc87 /src/toolbar.c | |
parent | 4e884b1c0332c875cb3041daa0626770ee5ec7da (diff) | |
download | gsoc2013-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/toolbar.c')
-rwxr-xr-x | src/toolbar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar.c b/src/toolbar.c index cf6596f32..16981fb02 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -207,8 +207,8 @@ toolbar_realize (GtkWidget *widget) GTK_WIDGET_CLASS (parent_class)->realize (widget); - 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); |