diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 04:08:48 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-03 04:08:48 +0800 |
commit | bc6c3e50842dd5945f08bbf7cb6a405a5b269144 (patch) | |
tree | 6937e5e48b459f183992b2bea0e9287389785ca2 /shell/e-task-bar.c | |
parent | 9a96cbd58ed1f063c81af4bc2900ba6dce677ca3 (diff) | |
download | gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar.gz gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar.bz2 gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar.lz gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar.xz gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.tar.zst gsoc2013-evolution-bc6c3e50842dd5945f08bbf7cb6a405a5b269144.zip |
Set the `set_folder_uri' to NULL when freeing it.
* e-shell-view.c (switch_on_folder_tree_click): Set the
`set_folder_uri' to NULL when freeing it.
* e-task-bar.c (e_task_bar_remove_task): Just destroy the widget.
No need to `gtk_container_remove()' it.
svn path=/trunk/; revision=11597
Diffstat (limited to 'shell/e-task-bar.c')
-rw-r--r-- | shell/e-task-bar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/e-task-bar.c b/shell/e-task-bar.c index efc552f661..f732d59a69 100644 --- a/shell/e-task-bar.c +++ b/shell/e-task-bar.c @@ -132,8 +132,7 @@ e_task_bar_remove_task (ETaskBar *task_bar, g_return_if_fail (n >= 0); task_widget = e_task_bar_get_task_widget (task_bar, n); - - gtk_container_remove (GTK_CONTAINER (task_bar), GTK_WIDGET (task_widget)); + gtk_widget_destroy (GTK_WIDGET (task_widget)); } ETaskWidget * |