From 9b5a50bf2267dc398dfe1e304c0c8522d055f689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 3 Oct 2016 10:52:40 +0200 Subject: [PATCH] shortcutswindow: Stop using GtkArrow --- gtk/gtkshortcutswindow.c | 9 ++++----- 1 file 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;