[gtk/wip/otte/canvas: 36/36] REMOVE ME: puzzle
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/canvas: 36/36] REMOVE ME: puzzle
- Date: Tue, 5 Jul 2022 05:41:43 +0000 (UTC)
commit 7104c580de23ddc9540b1a16631d69d7d9128271
Author: Benjamin Otte <otte redhat com>
Date: Sun Jul 3 19:41:38 2022 +0200
REMOVE ME: puzzle
demos/gtk-demo/canvas_puzzle.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/canvas_puzzle.c b/demos/gtk-demo/canvas_puzzle.c
index f1ee30703b..6ba77b7c99 100644
--- a/demos/gtk-demo/canvas_puzzle.c
+++ b/demos/gtk-demo/canvas_puzzle.c
@@ -117,7 +117,8 @@ do_canvas_puzzle (GtkWidget *do_widget)
gtk_window_set_default_size (GTK_WINDOW (window), 400, 300);
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);
- puzzle = GDK_PAINTABLE (gdk_texture_new_from_resource ("/sliding_puzzle/portland-rose.jpg"));
+ //puzzle = GDK_PAINTABLE (gdk_texture_new_from_resource ("/sliding_puzzle/portland-rose.jpg"));
+ puzzle = GDK_PAINTABLE (gdk_texture_new_from_filename ("love-and-thunder.jpg", NULL));
model = create_puzzle (puzzle);
g_object_unref (puzzle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]