[gtk+/client-side-decorations: 44/92] check is_client_side_decorated() in ensure_title_box()
- From: Cody Russell <bratsche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/client-side-decorations: 44/92] check is_client_side_decorated() in ensure_title_box()
- Date: Fri, 16 Apr 2010 19:30:48 +0000 (UTC)
commit ea7b05024e57c1b03836b5db526e229532f3e827
Author: Cody Russell <crussell canonical com>
Date: Sun Jul 5 12:18:49 2009 +0100
check is_client_side_decorated() in ensure_title_box()
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 47b5382..db8f4d3 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1510,7 +1510,7 @@ ensure_title_box (GtkWindow *window)
{
GtkWindowPrivate *priv = GTK_WINDOW_GET_PRIVATE (window);
- if (!priv->button_box)
+ if (is_client_side_decorated (window) && !priv->button_box)
{
GtkWidget *hbox;
GtkWidget *button;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]