X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-window.c;h=bb6c1ac892936f2bfac1049bb8b426359a45257f;hb=4e3feede0f6b3d2e67d6e41a9ddea3738e574dc3;hp=23f89a3b8c5fb76559087519f341d7b9420a29bd;hpb=cd8cb77fd12c77417f7c50acc135de77afd335f1;p=pspp diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 23f89a3b8c..bb6c1ac892 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation + Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 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 @@ -1095,6 +1095,15 @@ psppire_data_window_dispose (GObject *object) if (dw->dict) { + g_signal_handlers_disconnect_by_func (dw->dict, + G_CALLBACK (enable_save), dw); + g_signal_handlers_disconnect_by_func (dw->dict, + G_CALLBACK (on_weight_change), dw); + g_signal_handlers_disconnect_by_func (dw->dict, + G_CALLBACK (on_filter_change), dw); + g_signal_handlers_disconnect_by_func (dw->dict, + G_CALLBACK (on_split_change), dw); + g_object_unref (dw->dict); dw->dict = NULL; } @@ -1239,7 +1248,7 @@ psppire_data_window_new (struct dataset *ds) GtkWidget *dw; if (the_session == NULL) - the_session = session_create (); + the_session = session_create (NULL); if (ds == NULL) {