Fix r1942, forgot to get the image width and height
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 30 Mar 2008 16:12:22 +0000 (16:12 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 30 Mar 2008 16:12:22 +0000 (16:12 +0000)
git-svn-id: http://svn.voria.com/code@1943 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/splash.cpp

index 19750c7..01d82aa 100644 (file)
@@ -186,8 +186,8 @@ Splash::Splash():
        int image_w = 350; int image_h = 0;
        Glib::RefPtr<Gdk::Pixbuf> pixbuf = splash_image->get_pixbuf();
        if( pixbuf ){
-               pixbuf->get_width();
-               pixbuf->get_height();
+               image_w = pixbuf->get_width();
+               image_h = pixbuf->get_height();
        }
 
        // Create the progress bar