X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.c;h=1532cbd316fca466ad9f6ef5169db23f353cfb39;hb=900b98d3fb6cde827807023ac10e4df3d711c03d;hp=1b0031b23f1303cf1ae65079e1ce84c97e40cc12;hpb=b3d6572c6e4ee401bb25ce0ea485c316925e6dc8;p=pspp diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index 1b0031b23f..1532cbd316 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation + Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -182,21 +182,9 @@ de_initialize (void) i18n_done (); } -static void -func (gpointer key, gpointer value, gpointer data) -{ - gboolean rv; - PsppireWindow *window = PSPPIRE_WINDOW (value); - - g_signal_emit_by_name (window, "delete-event", 0, &rv); -} - void psppire_quit (void) { - PsppireWindowRegister *reg = psppire_window_register_new (); - psppire_window_register_foreach (reg, func, NULL); - gtk_main_quit (); }