[gtk+/wip/baedert/gtkimageview: 262/279] demo: Load hidpi pixbuf



commit 42c9a6b43d25126dd6d219d83606a14f3aeb04c4
Author: Timm Bäder <mail baedert org>
Date:   Fri Feb 26 18:16:16 2016 +0100

    demo: Load hidpi pixbuf

 demos/gtk-demo/image_view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/image_view.c b/demos/gtk-demo/image_view.c
index dbd6722..9c078e1 100644
--- a/demos/gtk-demo/image_view.c
+++ b/demos/gtk-demo/image_view.c
@@ -176,7 +176,7 @@ load_hidpi_pixbuf_button_clicked_cb ()
   g_warning ("Reminder: This just loads an animation right now.");
 
   animation = gdk_pixbuf_animation_new_from_file ("/home/baedert/0mKXcg1.gif", NULL);
-  image = gtk_pixbuf_animation_image_new (animation, 1);
+  image = gtk_pixbuf_animation_image_new (animation, 2);
 
   gtk_image_view_set_abstract_image (GTK_IMAGE_VIEW (image_view), GTK_ABSTRACT_IMAGE (image));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]