[gtk+] GtkWindow: Check for popover realized-ness before unrealizing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkWindow: Check for popover realized-ness before unrealizing
- Date: Thu, 24 Sep 2015 03:26:53 +0000 (UTC)
commit 02306867c3e1fc5c047d569ead9f45fb6f791e7d
Author: Timm Bäder <mail baedert org>
Date: Wed Sep 23 18:29:50 2015 +0200
GtkWindow: Check for popover realized-ness before unrealizing
https://bugzilla.gnome.org/show_bug.cgi?id=755473
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index a5930dd..d3041b7 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -11886,7 +11886,7 @@ _gtk_window_remove_popover (GtkWindow *window,
popover_unmap (popover, data);
- if (_gtk_widget_get_realized (GTK_WIDGET (window)))
+ if (_gtk_widget_get_realized (GTK_WIDGET (popover)))
popover_unrealize (popover, data, window);
priv->popovers = g_list_remove (priv->popovers, data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]