shortcutswindow: Stop using GtkArrow

This commit is contained in:
Timm Bäder 2016-10-03 10:52:40 +02:00 committed by Benjamin Otte
parent ad155fb26c
commit 9b5a50bf22

View File

@ -865,7 +865,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
GtkToggleButton *search_button; GtkToggleButton *search_button;
GtkBox *menu_box; GtkBox *menu_box;
GtkBox *box; GtkBox *box;
GtkArrow *arrow; GtkWidget *arrow;
GtkWidget *scroller; GtkWidget *scroller;
GtkWidget *label; GtkWidget *label;
GtkWidget *empty; GtkWidget *empty;
@ -956,10 +956,9 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (priv->menu_label)); gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (priv->menu_label));
G_GNUC_BEGIN_IGNORE_DEPRECATIONS; G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
arrow = g_object_new (GTK_TYPE_ARROW, arrow = gtk_image_new_from_icon_name ("pan-down-symbolic",
"arrow-type", GTK_ARROW_DOWN, GTK_ICON_SIZE_BUTTON);
"visible", TRUE, gtk_widget_show (arrow);
NULL);
gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (arrow)); gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (arrow));
G_GNUC_END_IGNORE_DEPRECATIONS; G_GNUC_END_IGNORE_DEPRECATIONS;