summaryrefslogtreecommitdiff
path: root/gtk/gtksearchbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-05 07:44:04 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-05 07:44:04 -0500
commitbec58dc39e1c4280561a6fca6ff59c461b3d9e16 (patch)
treeff53122047002caba81496ef5b9d616bdb3da4ee /gtk/gtksearchbar.c
parenta71bc24184273fa8192f1e62e8570874e784fa2d (diff)
downloadgtk+-bec58dc39e1c4280561a6fca6ff59c461b3d9e16.tar.gz
searchbar: Stop adding a style class
We have an element name now.
Diffstat (limited to 'gtk/gtksearchbar.c')
-rw-r--r--gtk/gtksearchbar.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c
index 8833fee399..5bb0b92c73 100644
--- a/gtk/gtksearchbar.c
+++ b/gtk/gtksearchbar.c
@@ -433,7 +433,6 @@ static void
gtk_search_bar_init (GtkSearchBar *bar)
{
GtkSearchBarPrivate *priv = gtk_search_bar_get_instance_private (bar);
- GtkStyleContext *context;
gtk_widget_init_template (GTK_WIDGET (bar));
@@ -450,11 +449,6 @@ gtk_search_bar_init (GtkSearchBar *bar)
gtk_widget_set_no_show_all (priv->close_button, TRUE);
g_signal_connect (priv->close_button, "clicked",
G_CALLBACK (close_button_clicked_cb), bar);
-
- context = gtk_widget_get_style_context (GTK_WIDGET (bar));
- gtk_style_context_add_class (context, "search-bar");
- gtk_style_context_add_class (context, GTK_STYLE_CLASS_HORIZONTAL);
-
};
/**