summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutsshortcut.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-04 13:13:38 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-04 13:22:26 -0500
commit27b24bb68f859f4115175c109dc89c091b468408 (patch)
tree5c481bad6cb64d3cb9a7e1911533177161415d65 /gtk/gtkshortcutsshortcut.c
parent5cb06a30a08b6491ba8cb956fa7a7aeed7e5d1fc (diff)
downloadgtk+-27b24bb68f859f4115175c109dc89c091b468408.tar.gz
Add a css name to GtkShortcutsShortcut
This will be useful for tweaking the gesture image details, among other things.
Diffstat (limited to 'gtk/gtkshortcutsshortcut.c')
-rw-r--r--gtk/gtkshortcutsshortcut.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkshortcutsshortcut.c b/gtk/gtkshortcutsshortcut.c
index af5515dce7..967a536ad7 100644
--- a/gtk/gtkshortcutsshortcut.c
+++ b/gtk/gtkshortcutsshortcut.c
@@ -610,6 +610,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
(G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
g_object_class_install_properties (object_class, LAST_PROP, properties);
+ gtk_widget_class_set_css_name (widget_class, "shortcut");
}
static void