summaryrefslogtreecommitdiff
path: root/pluma
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-29 17:57:18 +0200
committerraveit65 <[email protected]>2016-07-30 13:44:54 +0200
commitc56155f057e08a6280f53553823952a15d5aded8 (patch)
treec4d58418642e54ccc2ed31de6f44ba7b7ed8d08b /pluma
parenta37f98c6c563be57039b0895351a1167cead6ecf (diff)
downloadpluma-c56155f057e08a6280f53553823952a15d5aded8.tar.bz2
pluma-c56155f057e08a6280f53553823952a15d5aded8.tar.xz
GTK+-3 status-combobox: do not use deprecated GtkArrow
Diffstat (limited to 'pluma')
-rw-r--r--pluma/pluma-status-combo-box.c6
1 files changed, 5 insertions, 1 deletions
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);