[Swfdec] thumbnailer/swfdec-thumbnailer.c

Benjamin Otte company at kemper.freedesktop.org
Wed Nov 7 13:20:23 PST 2007


 thumbnailer/swfdec-thumbnailer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a31d0686b78df2da96b9d8d1e3220e63978bba30
Author: Benjamin Otte <otte at gnome.org>
Date:   Wed Nov 7 20:02:04 2007 +0100

    s/swfdec_player_get_image_size/swfdec_player_get_default_size/

diff --git a/thumbnailer/swfdec-thumbnailer.c b/thumbnailer/swfdec-thumbnailer.c
index c27efd4..d4d1770 100644
--- a/thumbnailer/swfdec-thumbnailer.c
+++ b/thumbnailer/swfdec-thumbnailer.c
@@ -86,7 +86,7 @@ main (int argc, char **argv)
   GError *err;
   SwfdecPlayer *player;
   SwfdecLoader *loader;
-  int width, height;
+  guint width, height;
   double scale, scaled_size, x, y, w, h;
   guint try;
   cairo_surface_t *surface;
@@ -147,7 +147,7 @@ main (int argc, char **argv)
   cr = cairo_create (surface);
 
   // get image size
-  swfdec_player_get_image_size (player, &width, &height);
+  swfdec_player_get_default_size (player, &width, &height);
   if (width == 0 || height == 0) {
     /* force a size if the player doesn't have a default one */
     swfdec_player_set_size (player, size, size);


More information about the Swfdec mailing list