projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated the test widget thing a bit
[pspp]
/
src
/
ui
/
gui
/
psppire-data-store.c
diff --git
a/src/ui/gui/psppire-data-store.c
b/src/ui/gui/psppire-data-store.c
index 2fabf4d5d423466179a4bc6d9c39cb2f33302c46..fb89dfa20e928c68557a82186b63680e5601b84b 100644
(file)
--- a/
src/ui/gui/psppire-data-store.c
+++ b/
src/ui/gui/psppire-data-store.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2006, 2008, 2009, 2010 Free Software Foundation
+ Copyright (C) 2006, 2008, 2009, 2010
, 2012
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
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
@@
-239,7
+239,7
@@
psppire_data_store_get_case_count_wrapper (const PsppireSheetModel *model)
static void
psppire_data_store_init (PsppireDataStore *data_store)
{
static void
psppire_data_store_init (PsppireDataStore *data_store)
{
- data_store->dict =
0
;
+ data_store->dict =
NULL
;
data_store->datasheet = NULL;
data_store->dispose_has_run = FALSE;
}
data_store->datasheet = NULL;
data_store->dispose_has_run = FALSE;
}
@@
-301,8
+301,8
@@
psppire_data_store_sheet_model_init (PsppireSheetModelIface *iface)
A callback which occurs after a variable has been deleted.
*/
static void
A callback which occurs after a variable has been deleted.
*/
static void
-delete_variable_callback (GObject *obj,
gint dict_index
,
-
gint case_index, gint width
,
+delete_variable_callback (GObject *obj,
const struct variable *var UNUSED
,
+
gint dict_index, gint case_index
,
gpointer data)
{
PsppireDataStore *store = PSPPIRE_DATA_STORE (data);
gpointer data)
{
PsppireDataStore *store = PSPPIRE_DATA_STORE (data);
@@
-419,7
+419,7
@@
psppire_data_store_new (PsppireDict *dict)
{
PsppireDataStore *retval;
{
PsppireDataStore *retval;
- retval = g_object_new (
GTK
_TYPE_DATA_STORE, NULL);
+ retval = g_object_new (
PSPPIRE
_TYPE_DATA_STORE, NULL);
psppire_data_store_set_dictionary (retval, dict);
psppire_data_store_set_dictionary (retval, dict);