forked from AuroraMiddleware/gtk
combobox: don't add the button style class to the whole widget
It already has a toggle button inside, and this way we cannot theme them separately. https://bugzilla.gnome.org/show_bug.cgi?id=646882
This commit is contained in:
parent
b1d08fe0e9
commit
2613e412d7
@ -4579,7 +4579,6 @@ gtk_combo_box_constructor (GType type,
|
||||
GObject *object;
|
||||
GtkComboBox *combo_box;
|
||||
GtkComboBoxPrivate *priv;
|
||||
GtkStyleContext *context;
|
||||
|
||||
object = G_OBJECT_CLASS (gtk_combo_box_parent_class)->constructor
|
||||
(type, n_construct_properties, construct_properties);
|
||||
@ -4602,9 +4601,6 @@ gtk_combo_box_constructor (GType type,
|
||||
|
||||
gtk_combo_box_check_appearance (combo_box);
|
||||
|
||||
context = gtk_widget_get_style_context (GTK_WIDGET (combo_box));
|
||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_BUTTON);
|
||||
|
||||
if (priv->has_entry)
|
||||
{
|
||||
GtkWidget *entry;
|
||||
|
Loading…
Reference in New Issue
Block a user