projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert descriptives dialog to GtkBuilder
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-dict.c
diff --git
a/src/ui/gui/psppire-dict.c
b/src/ui/gui/psppire-dict.c
index 8f7fed618fcedbfd8e8d4463eca07dff111ee2c5..91293956b9e8e2ab613b83b719674c1b54e7bc97 100644
(file)
--- a/
src/ui/gui/psppire-dict.c
+++ b/
src/ui/gui/psppire-dict.c
@@
-19,7
+19,7
@@
#include <stdlib.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <gtk/gtk.h>
-#include <
gtksheet/gtkextra
-marshal.h>
+#include <
ui/gui/psppire
-marshal.h>
#include "psppire-dict.h"
#include <data/dictionary.h>
#include "psppire-dict.h"
#include <data/dictionary.h>
@@
-153,7
+153,7
@@
psppire_dict_class_init (PsppireDictClass *class)
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
-
marshaller
_VOID__INT_INT_INT,
+
psppire_marshal
_VOID__INT_INT_INT,
G_TYPE_NONE,
3,
G_TYPE_INT,
G_TYPE_NONE,
3,
G_TYPE_INT,
@@
-167,7
+167,7
@@
psppire_dict_class_init (PsppireDictClass *class)
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
-
gtkextra
_VOID__INT_INT,
+
psppire_marshal
_VOID__INT_INT,
G_TYPE_NONE,
2,
G_TYPE_INT,
G_TYPE_NONE,
2,
G_TYPE_INT,
@@
-434,7
+434,9
@@
psppire_dict_set_name (PsppireDict* d, gint idx, const gchar *name)
-/* Return the IDXth variable */
+/* Return the IDXth variable.
+ Will return NULL if IDX exceeds the number of variables in the dictionary.
+ */
struct variable *
psppire_dict_get_variable (const PsppireDict *d, gint idx)
{
struct variable *
psppire_dict_get_variable (const PsppireDict *d, gint idx)
{