summaryrefslogtreecommitdiff
path: root/gtk/gtkpopover.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-05-12 07:57:04 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-05-12 07:57:04 -0400
commit2bb1ed69f0b317c82b2a2ef8663671104eb88ca4 (patch)
tree823557c4dc99841e1ee5c0d2b6ecb84442a353b5 /gtk/gtkpopover.c
parent3dda1c5b64610c381624c17358f60b514ff03091 (diff)
downloadgtk+-2bb1ed69f0b317c82b2a2ef8663671104eb88ca4.tar.gz
GtkPopover: Clean up default widget on dispose
We forgot to drop the ref we take. Thankfully our tests caught this.
Diffstat (limited to 'gtk/gtkpopover.c')
-rw-r--r--gtk/gtkpopover.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 827c5938de..ba2fcba1ac 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -317,6 +317,8 @@ gtk_popover_dispose (GObject *object)
popover_unset_prev_focus (popover);
+ g_clear_object (&priv->default_widget);
+
G_OBJECT_CLASS (gtk_popover_parent_class)->dispose (object);
}