[gtk+/wip/matthiasc/gadget] toolitem: Set a css name



commit bee00029058776dfdd0aa975501c62226cb00dbf
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 8 20:47:21 2015 -0500

    toolitem: Set a css name

 gtk/gtktoolitem.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 78e3188..dab39e1 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -256,6 +256,8 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
                  NULL, NULL,
                  _gtk_marshal_VOID__VOID,
                  G_TYPE_NONE, 0);
+
+  gtk_widget_class_set_css_name (widget_class, "toolitem");
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]