summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-22 16:27:38 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-22 16:27:38 +0100
commit421d3ed2cea75931b62a3a59efdcd16a4989f008 (patch)
treef71d7b6b6945b4cf33e17cd2892445089465642c
parentb14e1b5201694c68b51fd13545e303afa55b0328 (diff)
downloadcaja-421d3ed2cea75931b62a3a59efdcd16a4989f008.tar.bz2
caja-421d3ed2cea75931b62a3a59efdcd16a4989f008.tar.xz
navigation-pane: replace deprecated gtk_image_new_from_stock GTK_STOCK_EDIT
Note: this icon is shiped by gtk+ itself
-rw-r--r--src/caja-navigation-window-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caja-navigation-window-pane.c b/src/caja-navigation-window-pane.c
index 6bfa72a5..5620ce5a 100644
--- a/src/caja-navigation-window-pane.c
+++ b/src/caja-navigation-window-pane.c
@@ -246,7 +246,7 @@ location_button_create (CajaNavigationWindowPane *pane)
GtkWidget *image;
GtkWidget *button;
- image = gtk_image_new_from_stock (GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("gtk-edit", GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
button = g_object_new (GTK_TYPE_TOGGLE_BUTTON,