[gtk/wip/baedert/for-master: 32/32] sdf



commit 1608667b89d707ac29795d8601a081f71e39197c
Author: Timm Bäder <mail baedert org>
Date:   Sun Oct 6 09:06:44 2019 +0200

    sdf

 gtk/gtkmenu.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 6e159b318a..c1957a9dfc 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -893,16 +893,15 @@ gtk_menu_dispose (GObject *object)
     }
 
   g_clear_object (&priv->accel_group);
+  g_clear_pointer (&priv->heights, g_free);
+
+  G_OBJECT_CLASS (gtk_menu_parent_class)->dispose (object);
 
   if (priv->toplevel)
     {
       g_signal_handlers_disconnect_by_func (priv->toplevel, moved_to_rect_cb, menu);
       gtk_widget_destroy (priv->toplevel);
     }
-
-  g_clear_pointer (&priv->heights, g_free);
-
-  G_OBJECT_CLASS (gtk_menu_parent_class)->dispose (object);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]