[gitg/gtk3: 11/20] GtkWindow now has the resize grip not the GtkStatusbar



commit 4398a10f6b7392bd36019e6aebe2a3b34b157900
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Jan 2 20:56:23 2011 -0800

    GtkWindow now has the resize grip not the GtkStatusbar

 gitg/gitg-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-window.c b/gitg/gitg-window.c
index adf4bd7..5b81a49 100644
--- a/gitg/gitg-window.c
+++ b/gitg/gitg-window.c
@@ -1123,7 +1123,7 @@ gitg_window_window_state_event (GtkWidget           *widget,
 		show = !(event->new_window_state &
 			(GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN));
 
-		gtk_statusbar_set_has_resize_grip (window->priv->statusbar, show);
+		gtk_window_set_has_resize_grip (GTK_WINDOW (window), show);
 	}
 
 	/* Save the window state */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]