[glabels/gtk3] Removed gtk_status_bar_set_has_resize_grip().



commit 6560b886953a6147b9cd4bca2f797c694fb18f2d
Author: Jim Evins <evins snaught com>
Date:   Sun Oct 17 12:54:30 2010 -0400

    Removed gtk_status_bar_set_has_resize_grip().
    
    Resize grip in Gtk3 has been moved from GtkStatusBar to GtkWindow.  Glabels
    also no longer explicitly turns the resize grip off.

 src/window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/window.c b/src/window.c
index e2acbed..98df0c9 100644
--- a/src/window.c
+++ b/src/window.c
@@ -44,7 +44,7 @@
 #define DEFAULT_WINDOW_HEIGHT 600
 
 #define CURSOR_INFO_WIDTH     150
-#define ZOOM_INFO_WIDTH        50
+#define ZOOM_INFO_WIDTH        75
 
 
 /*===========================================================================*/
@@ -167,7 +167,6 @@ gl_window_init (glWindow *window)
 	gtk_box_pack_start (GTK_BOX (vbox1), status_hbox, FALSE, FALSE, 0);
 
 	window->status_bar = gtk_statusbar_new ();
-	gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (window->status_bar), FALSE);
 	gtk_box_pack_start (GTK_BOX (status_hbox),
 			    window->status_bar,
 			    TRUE, TRUE, 0);



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