aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-01 04:55:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-01 04:55:41 +0800
commit2ca00daea4bf7572248e457c17a15f64d564077c (patch)
tree257d106abbbaddaeae33e08c5ec53d366151c5c2 /widgets
parentd48d40c7cea47dc69e10988417e99c525b877a16 (diff)
downloadgsoc2013-evolution-2ca00daea4bf7572248e457c17a15f64d564077c.tar.gz
gsoc2013-evolution-2ca00daea4bf7572248e457c17a15f64d564077c.tar.zst
gsoc2013-evolution-2ca00daea4bf7572248e457c17a15f64d564077c.zip
gtk_widget_destroy the menu rather than g_object_unref'ing it.
2003-01-31 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-gui-utils.c (kill_popup_menu): gtk_widget_destroy the menu rather than g_object_unref'ing it. svn path=/trunk/; revision=19696
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-gui-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c
index 2755957923..ec004c572b 100644
--- a/widgets/misc/e-gui-utils.c
+++ b/widgets/misc/e-gui-utils.c
@@ -60,7 +60,7 @@ kill_popup_menu (GtkWidget *widget, GtkMenu *menu)
g_return_if_fail (menu != NULL);
g_return_if_fail (GTK_IS_MENU (menu));
- g_object_unref (menu);
+ gtk_widget_destroy (menu);
}
void