projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove deprecated objects GtkAction and GtkUIManager
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-roc.c
diff --git
a/src/ui/gui/psppire-dialog-action-roc.c
b/src/ui/gui/psppire-dialog-action-roc.c
index 03748f294666aa4fe514697203f19ee3a8efa1dd..9f44f7ad44826c8f408678698bc4aaf50dcb22a3 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-roc.c
+++ b/
src/ui/gui/psppire-dialog-action-roc.c
@@
-105,7
+105,7
@@
refresh (PsppireDialogAction *rd_)
}
static void
}
static void
-on_state_var_changed (
Gtk
Action *a)
+on_state_var_changed (
PsppireDialog
Action *a)
{
PsppireDialogActionRoc *act = PSPPIRE_DIALOG_ACTION_ROC (a);
{
PsppireDialogActionRoc *act = PSPPIRE_DIALOG_ACTION_ROC (a);
@@
-121,12
+121,12
@@
on_state_var_changed (GtkAction *a)
}
static void
}
static void
-psppire_dialog_action_roc_activate (
Gtk
Action *a)
+psppire_dialog_action_roc_activate (
PsppireDialog
Action *a)
{
PsppireDialogActionRoc *act = PSPPIRE_DIALOG_ACTION_ROC (a);
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
{
PsppireDialogActionRoc *act = PSPPIRE_DIALOG_ACTION_ROC (a);
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
- GHashTable *thing = psppire_dialog_action_get_
pointer
(pda);
+ GHashTable *thing = psppire_dialog_action_get_
hash_table
(pda);
GtkBuilder *xml = g_hash_table_lookup (thing, a);
if (!xml)
{
GtkBuilder *xml = g_hash_table_lookup (thing, a);
if (!xml)
{
@@
-158,14
+158,12
@@
psppire_dialog_action_roc_activate (GtkAction *a)
psppire_dialog_action_set_valid_predicate (pda,
dialog_state_valid);
psppire_dialog_action_set_valid_predicate (pda,
dialog_state_valid);
- if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_roc_parent_class)->activate)
- PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_roc_parent_class)->activate (pda);
}
static char *
}
static char *
-generate_syntax (PsppireDialogAction *a)
+generate_syntax (
const
PsppireDialogAction *a)
{
PsppireDialogActionRoc *rd = PSPPIRE_DIALOG_ACTION_ROC (a);
gchar *text;
{
PsppireDialogActionRoc *rd = PSPPIRE_DIALOG_ACTION_ROC (a);
gchar *text;