[Xfce4-commits] [apps/gigolo] 33/35: replace gtk_image_set_from_stock by gtk_image_set_from_icon_name

noreply at xfce.org noreply at xfce.org
Mon Oct 31 18:19:07 CET 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/gigolo.

commit dc8a3967788c248951e2a3f1d7d5ac40b0998cba
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Jun 20 21:15:39 2016 +0200

    replace gtk_image_set_from_stock by gtk_image_set_from_icon_name
---
 src/preferencesdialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/preferencesdialog.c b/src/preferencesdialog.c
index b0bafc5..68fbe81 100644
--- a/src/preferencesdialog.c
+++ b/src/preferencesdialog.c
@@ -221,11 +221,11 @@ static void entry_check_input(GtkEntry *entry)
 			gtk_image_set_from_icon_name(icon, first_part, GTK_ICON_SIZE_MENU);
 		}
 		else
-			gtk_image_set_from_stock(icon, GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU);
+			gtk_image_set_from_icon_name(icon, "gtk-execute", GTK_ICON_SIZE_MENU);
 		g_free(path);
 	}
 	else
-		gtk_image_set_from_stock(icon, GTK_STOCK_STOP, GTK_ICON_SIZE_MENU);
+		gtk_image_set_from_icon_name(icon, "gtk-stop", GTK_ICON_SIZE_MENU);
 
 	g_free(first_part);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list