From a7e2d45bc3b8b5d3d94a967d335482a0dc99ce31 Mon Sep 17 00:00:00 2001 From: ASOwnerYT Date: Thu, 7 Jul 2022 18:49:54 +1200 Subject: Fixed build warning caused by a deprecated GTK class --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2c29153..4d38ad1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1267,7 +1267,7 @@ static void activate(GtkApplication *app, gpointer userdata) { select_window_userdata.app = app; crosshair_cursor = XCreateFontCursor(gdk_x11_get_default_xdisplay(), XC_crosshair); - save_icon = gtk_image_new_from_stock("gtk-save", GTK_ICON_SIZE_BUTTON); + save_icon = gtk_image_new_from_icon_name("gtk-save", GTK_ICON_SIZE_BUTTON); GtkStack *stack = GTK_STACK(gtk_stack_new()); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(stack)); -- cgit v1.2.3