- int image_w = splash_image->get_pixbuf()->get_width();
- int image_h = splash_image->get_pixbuf()->get_height();
+ int image_w = 350; int image_h = 0;
+ Glib::RefPtr<Gdk::Pixbuf> pixbuf = splash_image->get_pixbuf();
+ if( pixbuf ){
+ image_w = pixbuf->get_width();
+ image_h = pixbuf->get_height();
+ }