summaryrefslogtreecommitdiff
path: root/gtk/gtkseparatormenuitem.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-12-04 19:45:30 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-12-05 12:35:12 +0100
commitd736e8baf9cbda017f738b5c5dcbf71f0713b4bc (patch)
treeff3a80df9076200a570daa9cc7d567042eab7951 /gtk/gtkseparatormenuitem.c
parent9bfe7525cea3f60ed884d33872c1542c7b45f026 (diff)
downloadgtk+-d736e8baf9cbda017f738b5c5dcbf71f0713b4bc.tar.gz
GtkMenuItem: only set 'separator' class on the separator line
To make the separator line distinguishable from the widget's normal border from css. https://bugzilla.gnome.org/show_bug.cgi?id=719861
Diffstat (limited to 'gtk/gtkseparatormenuitem.c')
-rw-r--r--gtk/gtkseparatormenuitem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkseparatormenuitem.c b/gtk/gtkseparatormenuitem.c
index da72129706..938ca21518 100644
--- a/gtk/gtkseparatormenuitem.c
+++ b/gtk/gtkseparatormenuitem.c
@@ -51,10 +51,6 @@ gtk_separator_menu_item_class_init (GtkSeparatorMenuItemClass *class)
static void
gtk_separator_menu_item_init (GtkSeparatorMenuItem *item)
{
- GtkStyleContext *context;
-
- context = gtk_widget_get_style_context (GTK_WIDGET (item));
- gtk_style_context_add_class (context, GTK_STYLE_CLASS_SEPARATOR);
}
/**