summaryrefslogtreecommitdiff
path: root/src/caja-zoom-control.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-22 01:59:31 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-22 01:59:31 +0100
commitff6a32e8002be01e253a61a4abb9b61961252ddd (patch)
tree92bb3e637c72498f11659afb523c26db855c3830 /src/caja-zoom-control.c
parentd99b7141da19a746a9329daece4a83704f0101b5 (diff)
downloadcaja-ff6a32e8002be01e253a61a4abb9b61961252ddd.tar.bz2
caja-ff6a32e8002be01e253a61a4abb9b61961252ddd.tar.xz
Gtk3: fix all possible deprecated GtkStock in src
Diffstat (limited to 'src/caja-zoom-control.c')
-rw-r--r--src/caja-zoom-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index fb8ba0da..45424303 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -316,7 +316,7 @@ caja_zoom_control_init (CajaZoomControl *zoom_control)
GINT_TO_POINTER (i));
}
- image = gtk_image_new_from_stock (GTK_STOCK_ZOOM_OUT, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("zoom-out", GTK_ICON_SIZE_MENU);
zoom_control->details->zoom_out = gtk_button_new ();
gtk_button_set_focus_on_click (GTK_BUTTON (zoom_control->details->zoom_out), FALSE);
gtk_button_set_relief (GTK_BUTTON (zoom_control->details->zoom_out),
@@ -370,7 +370,7 @@ caja_zoom_control_init (CajaZoomControl *zoom_control)
gtk_box_pack_start (GTK_BOX (zoom_control),
zoom_control->details->zoom_button, TRUE, TRUE, 0);
- image = gtk_image_new_from_stock (GTK_STOCK_ZOOM_IN, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("zoom-in", GTK_ICON_SIZE_MENU);
zoom_control->details->zoom_in = gtk_button_new ();
gtk_button_set_focus_on_click (GTK_BUTTON (zoom_control->details->zoom_in), FALSE);
gtk_button_set_relief (GTK_BUTTON (zoom_control->details->zoom_in),