From c56155f057e08a6280f53553823952a15d5aded8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 29 Jul 2016 17:57:18 +0200 Subject: GTK+-3 status-combobox: do not use deprecated GtkArrow --- pluma/pluma-status-combo-box.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pluma/pluma-status-combo-box.c b/pluma/pluma-status-combo-box.c index 055dc0be..20166c59 100644 --- a/pluma/pluma-status-combo-box.c +++ b/pluma/pluma-status-combo-box.c @@ -306,8 +306,12 @@ pluma_status_combo_box_init (PlumaStatusComboBox *self) #endif gtk_box_pack_start (GTK_BOX (self->priv->hbox), self->priv->item, TRUE, TRUE, 0); - + +#if GTK_CHECK_VERSION (3, 0, 0) + self->priv->arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON); +#else self->priv->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); +#endif gtk_widget_show (self->priv->arrow); #if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_set_halign (self->priv->arrow, GTK_ALIGN_CENTER); -- cgit v1.2.1