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,10 +185,11 @@ static void
gtk_event_box_paint (GtkWidget *widget, gtk_event_box_paint (GtkWidget *widget,
GdkRectangle *area) GdkRectangle *area)
{ {
gtk_paint_flat_box (widget->style, widget->window, if (!GTK_WIDGET_APP_PAINTABLE (widget))
widget->state, GTK_SHADOW_NONE, gtk_paint_flat_box (widget->style, widget->window,
area, widget, "eventbox", widget->state, GTK_SHADOW_NONE,
0, 0, -1, -1); area, widget, "eventbox",
0, 0, -1, -1);
} }
static gint static gint