Attach the style to the widget.

Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
        style to the widget.
This commit is contained in:
Owen Taylor 2003-07-02 18:56:35 +00:00 committed by Owen Taylor
parent 2669847342
commit 8982aa6723
6 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
style to the widget.
Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtk.h: Add new toolbar headers

View File

@ -1,3 +1,8 @@
Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
style to the widget.
Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtk.h: Add new toolbar headers

View File

@ -1,3 +1,8 @@
Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
style to the widget.
Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtk.h: Add new toolbar headers

View File

@ -1,3 +1,8 @@
Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
style to the widget.
Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtk.h: Add new toolbar headers

View File

@ -1,3 +1,8 @@
Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
style to the widget.
Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtk.h: Add new toolbar headers

View File

@ -702,6 +702,7 @@ gtk_toolbar_realize (GtkWidget *widget)
widget->window = gtk_widget_get_parent_window (widget);
g_object_ref (widget->window);
widget->style = gtk_style_attach (widget->style, widget->window);
priv->event_window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask);