projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bff3ab
)
notebook: Avoid a crash
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Oct 2019 23:00:35 +0000
(19:00 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Oct 2019 23:00:35 +0000
(19:00 -0400)
This is fallout from turning the menu into
a popover, causing it to be be a child.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 2082a1038a945e0c342d7875dcf5d2f940a0a3b5..3c1509317f66b62417e41e48af315b2d22d8c491 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-1858,9
+1858,6
@@
gtk_notebook_destroy (GtkWidget *widget)
if (priv->pages)
g_list_model_items_changed (G_LIST_MODEL (priv->pages), 0, g_list_length (priv->children), 0);
- if (priv->menu)
- gtk_notebook_popup_disable (notebook);
-
if (priv->source_targets)
{
gdk_content_formats_unref (priv->source_targets);