X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fvariable-info-dialog.c;h=d0b3eeaebf37e99b953537f208e8f8ce26c4f9fd;hb=086322fd8c85a303ba6f552950d6f057f2867add;hp=acc9b27f97e71716f4c83baa35eba06343e5d361;hpb=319711ff80e76a730ec26c86d67c0107143d8747;p=pspp-builds.git diff --git a/src/ui/gui/variable-info-dialog.c b/src/ui/gui/variable-info-dialog.c index acc9b27f..d0b3eeae 100644 --- a/src/ui/gui/variable-info-dialog.c +++ b/src/ui/gui/variable-info-dialog.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007, 2009 Free Software Foundation + Copyright (C) 2007, 2009, 2010 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 @@ -17,20 +17,20 @@ #include #include -#include "variable-info-dialog.h" -#include "var-display.h" #include #include #include +#include + +#include "variable-info-dialog.h" +#include "var-display.h" + #include "psppire-data-window.h" #include "psppire-dialog.h" -#include "psppire-var-store.h" #include "psppire-dictview.h" +#include "psppire-var-store.h" #include "helper.h" -#include -#include -#include "helper.h" #include @@ -144,10 +144,8 @@ static gchar * generate_syntax (PsppireDictView *treeview); void -variable_info_dialog (gpointer data) +variable_info_dialog (PsppireDataWindow *de) { - PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data); - gint response ; GtkBuilder *xml = builder_new ("variable-info.ui"); @@ -198,7 +196,7 @@ variable_info_dialog (gpointer data) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (PSPPIRE_DICT_VIEW (treeview)); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); }