X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcount-dialog.c;h=135cc473304fa91c43eaf9b59ea5eec75bfecafb;hb=811c669032a18cfff53291a98e5803afdf39db36;hp=43875f963703a54f59e076b024e5a9f6a13c4f8b;hpb=d46430e7458fcd65dfdf7928f52f2d06fa60127d;p=pspp diff --git a/src/ui/gui/count-dialog.c b/src/ui/gui/count-dialog.c index 43875f9637..135cc47330 100644 --- a/src/ui/gui/count-dialog.c +++ b/src/ui/gui/count-dialog.c @@ -114,7 +114,6 @@ dialog_state_valid (gpointer data) void count_dialog (PsppireDataWindow *de) { gint response; - PsppireVarStore *vs = NULL; struct cnt_dialog cnt; GtkBuilder *builder = builder_new ("count.ui"); @@ -137,9 +136,7 @@ void count_dialog (PsppireDataWindow *de) g_signal_connect (cnt.dialog, "refresh", G_CALLBACK (refresh), &cnt); - g_object_get (de->data_editor, "var-store", &vs, NULL); - - g_object_get (vs, "dictionary", &cnt.dict, NULL); + g_object_get (de->data_editor, "dictionary", &cnt.dict, NULL); gtk_window_set_transient_for (GTK_WINDOW (cnt.dialog), GTK_WINDOW (de)); @@ -165,6 +162,7 @@ void count_dialog (PsppireDataWindow *de) } + g_object_unref (cnt.value_list); g_object_unref (builder); }