fix imageviewer
authorColin Leroy <colin@colino.net>
Sun, 4 Jul 2004 20:15:04 +0000 (20:15 +0000)
committerColin Leroy <colin@colino.net>
Sun, 4 Jul 2004 20:15:04 +0000 (20:15 +0000)
ChangeLog-gtk2.claws
configure.ac
src/plugins/image_viewer/viewer.c

index 8e7c0f7729ac4f4a5d00c6ef6afc42244725c69c..3f14c3064bfb59f87ca6b0feabe155c4119d2c7c 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-03 [colin]     0.9.11cvs17.8
+
+       * src/plugins/imageviewer/viewer.c
+               fix imageviewer (which was staying on the first
+               displayed image)
+
 2004-07-03 [colin]     0.9.11cvs17.7
 
        Removed FIXME_GTK2 warnings
index 054af9b1ca746a5e93745926df7a38c66c4b1ac4..1e493f869e62608c306048985de62f7ee2679fc8 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=17.7
+EXTRA_VERSION=17.8
 EXTRA_RELEASE=
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
index 7b18576c4f841227f0d7b9cf9528d893ed1a62e7..d4f337409ddbc3cc6b52ffa5fa659ef4fd513863 100644 (file)
@@ -123,7 +123,7 @@ static void image_viewer_load_file(ImageViewer *imageviewer, const gchar *imgfil
                        (GTK_SCROLLED_WINDOW(imageviewer->scrolledwin),
                         imageviewer->image);
        } else
-               gtk_image_set_from_pixmap(GTK_IMAGE(imageviewer->image), pixmap, mask);
+               gtk_pixmap_set(imageviewer->image, pixmap, mask);
 
        gtk_widget_show(imageviewer->image);