Upgrade libpng to tag v1.6.37

gtk_image_new_from_file results in a segmentation fault with the new version.
This commit is contained in:
Martin Kröning
2020-06-20 12:37:56 +02:00
parent 37e60ffc97
commit 7ecc7b262b
2 changed files with 4 additions and 2 deletions
+1 -1
@@ -31,7 +31,9 @@ extern "C" const char *Init( int *argc, char ***argv )
//gtk_window_set_icon( GTK_WINDOW(window), );
gtk_widget_realize(window);
splash = gtk_image_new_from_file(splash_image_path);
splash = gtk_image_new_from_pixbuf(
gdk_pixbuf_new_from_file (splash_image_path, nullptr)
);
label = gtk_label_new(nullptr);
gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_CENTER);