summaryrefslogtreecommitdiff
path: root/gtk/gtklinkbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-02-07 07:30:37 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-02-07 07:30:37 -0500
commitbeb8c290d1c7a7b5307dfd9e4c446a91ad48a507 (patch)
tree350d69e7151865603e17923d28890353f2508426 /gtk/gtklinkbutton.c
parent14eb34874a63719c77db36f10c615c70f9179e49 (diff)
downloadgtk+-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/gtklinkbutton.c')
-rw-r--r--gtk/gtklinkbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index fde6d273e9..2c76adea76 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -366,9 +366,9 @@ gtk_link_button_add (GtkContainer *container,
static void
gtk_link_button_style_updated (GtkWidget *widget)
{
- GtkLinkButton *link_button = GTK_LINK_BUTTON (widget);
+ GTK_WIDGET_CLASS (gtk_link_button_parent_class)->style_updated (widget);
- set_link_color (link_button);
+ set_link_color (GTK_LINK_BUTTON (widget));
}
static void