Created a new stock item for Reset buttons.
[pspp-builds.git] / src / ui / gui / main.c
index 6a38d7259ee4aaec22d75344958634783188326f..1d7264f83985674073a5210e82e43c88e5cd9f30 100644 (file)
@@ -14,6 +14,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
+#include <config.h>
 #include <gtk/gtk.h>
 #include "psppire.h"
 #include "progname.h"
@@ -124,7 +125,7 @@ main (int argc, char *argv[])
   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 ();