mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
searchbar: Stop adding a style class
We have an element name now.
This commit is contained in:
parent
a71bc24184
commit
bec58dc39e
@ -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);
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user