diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-02-23 09:23:19 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-02-23 09:23:19 +0800 |
commit | 21041225ab82f2e13a12f163189110df03c2a598 (patch) | |
tree | 01e7367470335fe7dfbd2180c309eb388db48a5f /lib/egg | |
parent | bb539d648e80733ebc5eac54dec76344a399195a (diff) | |
download | gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.gz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.bz2 gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.lz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.xz gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.tar.zst gsoc2013-epiphany-21041225ab82f2e13a12f163189110df03c2a598.zip |
Unparent the fixed toolbar before destroying the dock.
2005-02-23 Christian Persch <chpe@cvs.gnome.org>
* lib/egg/egg-editable-toolbar.c: (toolbar_removed_cb):
Unparent the fixed toolbar before destroying the dock.
Diffstat (limited to 'lib/egg')
-rwxr-xr-x | lib/egg/egg-editable-toolbar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 58a9c67b2..cd802d6d0 100755 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -837,6 +837,11 @@ toolbar_removed_cb (EggToolbarsModel *model, { GtkWidget *toolbar; + if (position == 0 && t->priv->fixed_toolbar != NULL) + { + unparent_fixed (t); + } + toolbar = get_dock_nth (t, position); gtk_widget_destroy (toolbar); |