From 82a7c3ddaa1b2bda7d03f9d258fa218468156488 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 13 Aug 2013 14:25:10 +0200 Subject: src: don't use deprecated GtkImageMenuItem and GtkStock There's another occurrence of GtkImageMenuItem right now, for the "Open With..." menu which is harder to fix. --- src/nautilus-floating-bar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nautilus-floating-bar.c') diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c index c90fdc35f..40090f1fe 100644 --- a/src/nautilus-floating-bar.c +++ b/src/nautilus-floating-bar.c @@ -407,12 +407,12 @@ nautilus_floating_bar_new (const gchar *primary_label, void nautilus_floating_bar_add_action (NautilusFloatingBar *self, - const gchar *stock_id, + const gchar *icon_name, gint action_id) { GtkWidget *w, *button; - w = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_MENU); + w = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU); gtk_widget_show (w); button = gtk_button_new (); -- cgit v1.2.1