[gtk/inspector-menus] inspector: Fix showing of menus
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/inspector-menus] inspector: Fix showing of menus
- Date: Thu, 2 May 2019 02:07:01 +0000 (UTC)
commit c7df0c907a1a337edc92087c4741898af1bf46f3
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 2 02:05:46 2019 +0000
inspector: Fix showing of menus
We were hitting an assertion in some leftover
code that assumed property editors are popovers.
gtk/inspector/prop-list.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 3f36b2b0e7..fc1996f95d 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -251,11 +251,6 @@ show_object (GtkInspectorPropEditor *editor,
const gchar *tab,
GtkInspectorPropList *pl)
{
- GtkWidget *popover;
-
- popover = gtk_widget_get_ancestor (GTK_WIDGET (editor), GTK_TYPE_POPOVER);
- gtk_widget_hide (popover);
-
g_object_set_data_full (G_OBJECT (pl->priv->object_tree), "next-tab", g_strdup (tab), g_free);
gtk_inspector_object_tree_select_object (pl->priv->object_tree, object);
gtk_inspector_object_tree_activate_object (pl->priv->object_tree, object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]