[gtk+] combobox: Don't add .linked
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] combobox: Don't add .linked
- Date: Fri, 6 Nov 2015 04:44:33 +0000 (UTC)
commit f1b7005ede1de03312510fce7442ebc65f89f936
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 5 19:14:38 2015 -0500
combobox: Don't add .linked
It interferes with getting the desired styling for combo boxes
with an entry, and is not needed.
gtk/gtkcombobox.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 2b6344a..0831ce6 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -4399,9 +4399,6 @@ gtk_combo_box_constructed (GObject *object)
context = gtk_widget_get_style_context (GTK_WIDGET (entry));
gtk_style_context_add_class (context, "combo");
- context = gtk_widget_get_style_context (GTK_WIDGET (combo_box));
- gtk_style_context_add_class (context, "linked");
-
priv->text_renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box),
priv->text_renderer, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]