summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutswindow.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-10-07 22:45:05 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-10-07 22:45:05 -0400
commitc9eab362166de971279bdadb4c1eecf3ae54c73d (patch)
tree7856a08f5f947266f7501438525f831aabdb909b /gtk/gtkshortcutswindow.c
parent4903f809a683329985b1529fd8712110a22e399b (diff)
downloadgtk+-c9eab362166de971279bdadb4c1eecf3ae54c73d.tar.gz
Shortcuts window: Make search results themable
Add a style class to the box containing search results, so we can apply style here.
Diffstat (limited to 'gtk/gtkshortcutswindow.c')
-rw-r--r--gtk/gtkshortcutswindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c
index 05b8f93b2a..d5600eda9b 100644
--- a/gtk/gtkshortcutswindow.c
+++ b/gtk/gtkshortcutswindow.c
@@ -976,9 +976,9 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
NULL);
box = g_object_new (GTK_TYPE_BOX,
"halign", GTK_ALIGN_CENTER,
- "spacing", 24,
"orientation", GTK_ORIENTATION_VERTICAL,
NULL);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (box)), "shortcuts-search-results");
gtk_container_add (GTK_CONTAINER (scroller), GTK_WIDGET (box));
gtk_stack_add_named (priv->stack, scroller, "internal-search");