diff options
author | Christian Dywan <cdywan@src.gnome.org> | 2008-10-08 02:02:50 +0000 |
---|---|---|
committer | Christian Dywan <cdywan@src.gnome.org> | 2008-10-08 02:02:50 +0000 |
commit | 61c3e66e2ced402bd2e5da13594fb179e3df78ed (patch) | |
tree | 3fc6f1fc0c092dac385b631a7d5285a350a3ab83 /gtk | |
parent | f72dd13a36526c2e811cf24609bdc577266b5a42 (diff) | |
download | gtk+-61c3e66e2ced402bd2e5da13594fb179e3df78ed.tar.gz |
Bug 555387 – Changing the sensitivity of a statusbar
mistakenly requires a display
* gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
of the resize grip if there is a grip window.
svn path=/trunk/; revision=21605
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkstatusbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index a2fa89e114..2bddfa88b6 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -586,7 +586,7 @@ get_grip_rect (GtkStatusbar *statusbar, static void set_grip_cursor (GtkStatusbar *statusbar) { - if (statusbar->has_resize_grip) + if (statusbar->has_resize_grip && statusbar->grip_window != NULL) { GtkWidget *widget = GTK_WIDGET (statusbar); GdkDisplay *display = gtk_widget_get_display (widget); |