summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-05-18 17:21:22 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-05-19 10:54:01 -0400
commit6bbb9d6f159f5175c6277cf3fbe2003e8f3c35fc (patch)
treed6cddb359d7a6244dc991f77e0510f34004251a1 /gtk/gtkassistant.c
parent3ecb308e569dc2107b44bd2572acfcc1da85a2eb (diff)
downloadgtk+-6bbb9d6f159f5175c6277cf3fbe2003e8f3c35fc.tar.gz
assistant: remove an useless gtk_widget_reset_style() call
It's not needed to call _reset_style() here, as we did not add the widget to the parent container yet. https://bugzilla.gnome.org/show_bug.cgi?id=650530
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 384b30949b..8babd002dc 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1574,7 +1574,6 @@ gtk_assistant_insert_page (GtkAssistant *assistant,
context = gtk_widget_get_style_context (page_info->current_title);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_HIGHLIGHT);
- gtk_widget_reset_style (page_info->current_title);
gtk_size_group_add_widget (priv->title_size_group, page_info->regular_title);
gtk_size_group_add_widget (priv->title_size_group, page_info->current_title);