psppire: Remove unused function.
[pspp] / src / ui / gui / psppire.c
index 1b0031b23f1303cf1ae65079e1ce84c97e40cc12..1532cbd316fca466ad9f6ef5169db23f353cfb39 100644 (file)
@@ -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 ();
 }