[gtk+/wip/baedert/gtkimageview: 193/255] demo: Load pixbuf that's more likely to exist
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 193/255] demo: Load pixbuf that's more likely to exist
- Date: Thu, 12 May 2016 17:34:10 +0000 (UTC)
commit e75610b122aac9d01d3d80877cb7d954c89fe74e
Author: Timm Bäder <mail baedert org>
Date: Mon Jan 25 17:32:48 2016 +0100
demo: Load pixbuf that's more likely to exist
demos/gtk-demo/image_view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/image_view.c b/demos/gtk-demo/image_view.c
index 3cf3285..811a203 100644
--- a/demos/gtk-demo/image_view.c
+++ b/demos/gtk-demo/image_view.c
@@ -150,11 +150,11 @@ load_pixbuf_button_clicked_cb ()
GdkPixbuf *pixbuf;
/* I really hope you have this. */
- pixbuf = gdk_pixbuf_new_from_file ("/home/baedert/imageview2.png",
+ pixbuf = gdk_pixbuf_new_from_file ("/usr/share/backgrounds/gnome/Fabric.jpg",
NULL);
g_assert (pixbuf != NULL);
- gtk_image_view_set_pixbuf (GTK_IMAGE_VIEW (image_view), pixbuf, 2);
+ gtk_image_view_set_pixbuf (GTK_IMAGE_VIEW (image_view), pixbuf, 0);
g_object_unref (G_OBJECT (pixbuf));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]