+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c
GtkLayoutChild *child);
static void gtk_layout_adjustment_changed (GtkAdjustment *adjustment,
GtkLayout *layout);
+static void gtk_layout_style_set (GtkWidget *widget,
+ GtkStyle *old_style);
static GtkWidgetClass *parent_class = NULL;
widget_class->size_request = gtk_layout_size_request;
widget_class->size_allocate = gtk_layout_size_allocate;
widget_class->expose_event = gtk_layout_expose;
+ widget_class->style_set = gtk_layout_style_set;
container_class->remove = gtk_layout_remove;
container_class->forall = gtk_layout_forall;
}
}
+static void
+gtk_layout_style_set (GtkWidget *widget, GtkStyle *old_style)
+{
+ if (GTK_WIDGET_CLASS (parent_class)->style_set)
+ (* GTK_WIDGET_CLASS (parent_class)->style_set) (widget, old_style);
+
+ if (GTK_WIDGET_REALIZED (widget))
+ {
+ gtk_style_set_background (widget->style, GTK_LAYOUT (widget)->bin_window, GTK_STATE_NORMAL);
+ }
+}
+
static void
gtk_layout_map (GtkWidget *widget)
{