forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
f72dd13a36
commit
61c3e66e2c
@ -1,3 +1,11 @@
|
||||
2008-10-08 Christian Dywan <christian@imendio.com>
|
||||
|
||||
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.
|
||||
|
||||
2008-10-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user