aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-11-19 17:43:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-11-19 17:43:17 +0800
commit1003ebf6196a0ad8e5de5441c44799a9d8e85a92 (patch)
tree495a6ad164e113fa9ed25becfb63d62995b3f3f9 /shell/e-shell-window.c
parent8ca3936a98e1978eb4268af095162038dc4b9d48 (diff)
downloadgsoc2013-evolution-1003ebf6196a0ad8e5de5441c44799a9d8e85a92.tar.gz
gsoc2013-evolution-1003ebf6196a0ad8e5de5441c44799a9d8e85a92.tar.zst
gsoc2013-evolution-1003ebf6196a0ad8e5de5441c44799a9d8e85a92.zip
Destroy the tooltips instead of unreffing them.
* e-shell-window.c (impl_dispose): Destroy the tooltips instead of unreffing them. * e-shell.c (struct _EShellPrivate): New member activity_handler. (setup_activity_interface): New. (impl_dispose): Add a comment about why we must not unref activity_handler here. (create_window): Attach the task bar to the new window. * e-shell-window.c (e_shell_window_peek_task_bar): New. svn path=/trunk/; revision=23439
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index d2845fe8c3..cde68a42e6 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -598,7 +598,7 @@ impl_dispose (GObject *object)
}
if (priv->tooltips != NULL) {
- g_object_unref (priv->tooltips);
+ gtk_object_destroy (priv->tooltips);
priv->tooltips = NULL;
}
@@ -782,6 +782,14 @@ e_shell_window_peek_bonobo_ui_component (EShellWindow *window)
return window->priv->ui_component;
}
+GtkWidget *
+e_shell_window_peek_task_bar (EShellWindow *window)
+{
+ g_return_val_if_fail (E_IS_SHELL_WINDOW (window), NULL);
+
+ return window->priv->task_bar;
+}
+
void
e_shell_window_save_defaults (EShellWindow *window)
{