projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow dictionary 'var_deleted' callback to examine the deleted var.
[pspp]
/
src
/
ui
/
gui
/
psppire-dict.c
diff --git
a/src/ui/gui/psppire-dict.c
b/src/ui/gui/psppire-dict.c
index e731b185eaa6e8f6d702788b0393dc1f9b0f3fd8..ea67c85ce5c130f122685d5a29574c9a7d1583d6 100644
(file)
--- a/
src/ui/gui/psppire-dict.c
+++ b/
src/ui/gui/psppire-dict.c
@@
-159,10
+159,10
@@
psppire_dict_class_init (PsppireDictClass *class)
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
- psppire_marshal_VOID__
INT
_INT_INT,
+ psppire_marshal_VOID__
POINTER
_INT_INT,
G_TYPE_NONE,
3,
G_TYPE_NONE,
3,
- G_TYPE_
INT
,
+ G_TYPE_
POINTER
,
G_TYPE_INT,
G_TYPE_INT);
G_TYPE_INT,
G_TYPE_INT);
@@
-248,10
+248,11
@@
addcb (struct dictionary *d, int idx, void *pd)
}
static void
}
static void
-delcb (struct dictionary *d, int dict_idx, int case_idx, int width, void *pd)
+delcb (struct dictionary *d, const struct variable *var,
+ int dict_idx, int case_idx, void *pd)
{
g_signal_emit (pd, signals [VARIABLE_DELETED], 0,
{
g_signal_emit (pd, signals [VARIABLE_DELETED], 0,
-
dict_idx, case_idx, width
);
+
var, dict_idx, case_idx
);
}
static void
}
static void