diff options
author | ASOwnerYT <asowneryt@protonmail.com> | 2022-07-07 18:49:54 +1200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-07-07 09:09:01 +0200 |
commit | a7e2d45bc3b8b5d3d94a967d335482a0dc99ce31 (patch) | |
tree | fb17227c34f10d946fe27a68e009f3f4fcb1e73e | |
parent | cbd7e9df73edb71a03e4e7cf122b019c74461d59 (diff) |
Fixed build warning caused by a deprecated GTK class
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |