summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-17 20:22:52 +0200
committerraveit65 <[email protected]>2016-06-17 20:22:52 +0200
commitc47ec4fc9b834836e942550c0727cae0d93b06df (patch)
tree02349e16cc32d47f4dfe75c085278d05270a6fc4
parent554624bdc4019360fd3d04ccd5fc5e5be8ebdce5 (diff)
downloadmate-control-center-c47ec4fc9b834836e942550c0727cae0d93b06df.tar.bz2
mate-control-center-c47ec4fc9b834836e942550c0727cae0d93b06df.tar.xz
GTK+-3 search-context-picker: do not use deprecated gtk_arrow_new ()
-rw-r--r--libslab/search-context-picker.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libslab/search-context-picker.c b/libslab/search-context-picker.c
index a28cea14..44902ee6 100644
--- a/libslab/search-context-picker.c
+++ b/libslab/search-context-picker.c
@@ -86,11 +86,13 @@ nld_search_context_picker_init (NldSearchContextPicker * picker)
#if GTK_CHECK_VERSION (3, 0, 0)
separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL);
+ gtk_box_pack_start (GTK_BOX (hbox), separator, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_MENU), FALSE, FALSE, 0);
#else
separator = gtk_vseparator_new ();
-#endif
gtk_box_pack_start (GTK_BOX (hbox), separator, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (hbox), gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE), FALSE, FALSE, 0);
+#endif
gtk_widget_show_all (hbox);