[gtk+/wip/csd: 3/9] window: Check for a title box before checking for it being mapped
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csd: 3/9] window: Check for a title box before checking for it being mapped
- Date: Fri, 27 Jul 2012 11:03:54 +0000 (UTC)
commit 12021f932baf40ace3dec1393bfac00106ce4f3a
Author: Rob Bradford <rob linux intel com>
Date: Wed Apr 11 18:46:12 2012 +0100
window: Check for a title box before checking for it being mapped
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 159c2e8..39addbc 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5012,7 +5012,7 @@ gtk_window_map (GtkWidget *widget)
!gtk_widget_get_mapped (child))
gtk_widget_map (child);
- if (!gtk_widget_get_mapped (priv->title_box))
+ if (priv->title_box && !gtk_widget_get_mapped (priv->title_box))
gtk_widget_map (priv->title_box);
gdk_window = gtk_widget_get_window (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]