gtk_window_set_position (GTK_WINDOW (splash),
GTK_WIN_POS_CENTER_ALWAYS);
+ gtk_window_set_type_hint (GTK_WINDOW (splash),
+ GDK_WINDOW_TYPE_HINT_SPLASHSCREEN);
+
image = gtk_image_new_from_file (PKGDATADIR "/splash.png");
gtk_container_add (GTK_CONTAINER (splash), image);
if ( show_splash )
gtk_widget_show (splash_window);
- gtk_idle_add (quit_one_loop, 0);
+ g_idle_add (quit_one_loop, 0);
gtk_quit_add (0, run_inner_loop, splash_window);
gtk_main ();