X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fmain.c;h=a3d394618c5e4662113863915fb47e6db16eb090;hb=de2439d30fccf4a27e2857657f4680ed9237e8ff;hp=bab489a5aad88b13072822e4b113df887b8094a4;hpb=360dcdd5b188e73cf8cf97238cc4c0c44b3e6cf8;p=pspp-builds.git diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index bab489a5..a3d39461 100644 --- a/src/ui/gui/main.c +++ b/src/ui/gui/main.c @@ -14,6 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#include #include #include "psppire.h" #include "progname.h" @@ -57,7 +58,7 @@ static gboolean hide_splash_window (gpointer data) { GtkWidget *splash = data; - gtk_widget_hide (splash); + gtk_widget_destroy (splash); gtk_window_set_auto_startup_notification (TRUE); return FALSE; } @@ -94,7 +95,7 @@ main (int argc, char *argv[]) gchar *filename = 0; gboolean show_splash = TRUE; GError *err = 0; - gchar *vers; + const gchar *vers; set_program_name (argv[0]);