Honor GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)

Tue Sep 24 06:17:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkeventbox.c (gtk_event_box_paint): Honor
        GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
This commit is contained in:
Owen Taylor 2002-09-24 10:22:45 +00:00 committed by Owen Taylor
parent 50fdb4d7ba
commit 9fac16e366
7 changed files with 35 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -1,3 +1,8 @@
Tue Sep 24 06:17:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkeventbox.c (gtk_event_box_paint): Honor
GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com> Tue Sep 24 05:26:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c

View File

@ -185,6 +185,7 @@ static void
gtk_event_box_paint (GtkWidget *widget, gtk_event_box_paint (GtkWidget *widget,
GdkRectangle *area) GdkRectangle *area)
{ {
if (!GTK_WIDGET_APP_PAINTABLE (widget))
gtk_paint_flat_box (widget->style, widget->window, gtk_paint_flat_box (widget->style, widget->window,
widget->state, GTK_SHADOW_NONE, widget->state, GTK_SHADOW_NONE,
area, widget, "eventbox", area, widget, "eventbox",