summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutswindow.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-03 10:52:40 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-16 18:17:21 +0200
commit9b5a50bf2267dc398dfe1e304c0c8522d055f689 (patch)
treee0c98ccfdfdd5fbfdde93fadb1682bee0f300b58 /gtk/gtkshortcutswindow.c
parentad155fb26c0db2e8d39bbfd4ada0bfa328ad37f8 (diff)
downloadgtk+-9b5a50bf2267dc398dfe1e304c0c8522d055f689.tar.gz
shortcutswindow: Stop using GtkArrow
Diffstat (limited to 'gtk/gtkshortcutswindow.c')
-rw-r--r--gtk/gtkshortcutswindow.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c
index 36f55f6e86..1e1bf8f6f2 100644
--- a/gtk/gtkshortcutswindow.c
+++ b/gtk/gtkshortcutswindow.c
@@ -865,7 +865,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
GtkToggleButton *search_button;
GtkBox *menu_box;
GtkBox *box;
- GtkArrow *arrow;
+ GtkWidget *arrow;
GtkWidget *scroller;
GtkWidget *label;
GtkWidget *empty;
@@ -956,10 +956,9 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (priv->menu_label));
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
- arrow = g_object_new (GTK_TYPE_ARROW,
- "arrow-type", GTK_ARROW_DOWN,
- "visible", TRUE,
- NULL);
+ arrow = gtk_image_new_from_icon_name ("pan-down-symbolic",
+ GTK_ICON_SIZE_BUTTON);
+ gtk_widget_show (arrow);
gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (arrow));
G_GNUC_END_IGNORE_DEPRECATIONS;