diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-02-07 07:30:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-02-07 07:30:37 -0500 |
commit | beb8c290d1c7a7b5307dfd9e4c446a91ad48a507 (patch) | |
tree | 350d69e7151865603e17923d28890353f2508426 /gtk/gtktoolbar.c | |
parent | 14eb34874a63719c77db36f10c615c70f9179e49 (diff) | |
download | gtk+-beb8c290d1c7a7b5307dfd9e4c446a91ad48a507.tar.gz |
Always chain up in ::style-updated
This was not handled consistently, but the default handler
does useful things, so we should always chain up.
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 5421cf97ac..5fea9232fe 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -1868,11 +1868,13 @@ gtk_toolbar_style_updated (GtkWidget *widget) GtkToolbar *toolbar = GTK_TOOLBAR (widget); GtkToolbarPrivate *priv = toolbar->priv; + GTK_WIDGET_CLASS (gtk_toolbar_parent_class)->style_updated (widget); + priv->max_homogeneous_pixels = -1; if (gtk_widget_get_realized (widget)) gtk_style_context_set_background (gtk_widget_get_style_context (widget), - gtk_widget_get_window (widget)); + gtk_widget_get_window (widget)); gtk_toolbar_update_button_relief (GTK_TOOLBAR (widget)); } |