[gtk+/wip/otte/gtk4: 60/121] shortcutswindow: Stop using GtkArrow



commit 110391ac865faa80e63b13b4f2c989b15cddac9c
Author: Timm Bäder <mail baedert org>
Date:   Mon Oct 3 10:52:40 2016 +0200

    shortcutswindow: Stop using GtkArrow

 gtk/gtkshortcutswindow.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c
index 1b7ab72..f80d930 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]