diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-14 02:12:38 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-06-14 02:12:38 +0000 |
commit | 041da6278ec415ef0c8b15db3b27122c7379b189 (patch) | |
tree | ac45441904a8aa27a6cc7636217c7318e8884b0c | |
parent | b4526a36d1ea1a25e47151a9915891bdaf148166 (diff) |
textview_part_widget_destroy_notify(): fixed destroy notify handler.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2900 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/textview.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2011-06-14 + + * src/textview.c: textview_part_widget_destroy_notify(): fixed destroy + notify handler. + 2011-06-13 * src/textview.c: highlight part widgets on mouse over. diff --git a/src/textview.c b/src/textview.c index 169996d0..e541ea33 100644 --- a/src/textview.c +++ b/src/textview.c @@ -738,10 +738,7 @@ static gboolean textview_part_widget_exposed(GtkWidget *widget, static void textview_part_widget_destroy_notify(gpointer data) { - GtkWidget *menu; - - menu = g_object_get_data(G_OBJECT(data), "part-menu"); - gtk_widget_destroy(menu); + gtk_widget_destroy(GTK_WIDGET(data)); } static void textview_part_widget_menu_activated(GtkWidget *widget, |