[gtk/matthiasc/for-master: 3/8] colorbutton: Use a css name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 3/8] colorbutton: Use a css name
- Date: Fri, 24 Jan 2020 04:50:10 +0000 (UTC)
commit 7e4feb092b6f9f8e18ea8ec3f3502762abd5fab2
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 23 23:11:49 2020 -0500
colorbutton: Use a css name
This was the sole widget to show up as 'widget' in
the css tree.
gtk/gtkcolorbutton.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 9369e350c0..19759ff8e4 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -229,6 +229,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT);
+ gtk_widget_class_set_css_name (widget_class, "colorbutton");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]