summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authornana-4 <hnmaigo@gmail.com>2020-08-02 18:26:40 +0900
committernana-4 <hnmaigo@gmail.com>2020-08-02 18:26:40 +0900
commit5f00675de44851c0b661d68d2e84bed604c4047b (patch)
tree634fbcff7edaed7e3065de905923da6f55ffae7b /gtk
parentbe03613e304f2641ea5605f2fc57598e10983469 (diff)
downloadgtk+-5f00675de44851c0b661d68d2e84bed604c4047b.tar.gz
appchooserbutton: Set a CSS name
Otherwise it has a CSS name "widget".
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkappchooserbutton.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkappchooserbutton.c b/gtk/gtkappchooserbutton.c
index 518f2c64be..7e81e2c925 100644
--- a/gtk/gtkappchooserbutton.c
+++ b/gtk/gtkappchooserbutton.c
@@ -45,6 +45,10 @@
*
* To track changes in the selected application, use the
* #GtkAppChooserButton::changed signal.
+ *
+ * # CSS nodes
+ *
+ * GtkAppChooserButton has a single CSS node with the name “appchooserbutton”.
*/
#include "config.h"
@@ -741,6 +745,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
1, G_TYPE_STRING);
+ gtk_widget_class_set_css_name (widget_class, I_("appchooserbutton"));
}
static void