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-compute.c
diff --git
a/src/ui/gui/psppire-dialog-action-compute.c
b/src/ui/gui/psppire-dialog-action-compute.c
index 01c9136ee0ef96f3fc8e0c6b1eba092d9862b8ca..18292cec9397e5a2bb03669156ee3de4e0bc35c9 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-compute.c
+++ b/
src/ui/gui/psppire-dialog-action-compute.c
@@
-35,7
+35,7
@@
G_DEFINE_TYPE (PsppireDialogActionCompute, psppire_dialog_action_compute, PSPPIR
static char *
static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (
const
PsppireDialogAction *act)
{
PsppireDialogActionCompute *cd = PSPPIRE_DIALOG_ACTION_COMPUTE (act);
gchar *text;
{
PsppireDialogActionCompute *cd = PSPPIRE_DIALOG_ACTION_COMPUTE (act);
gchar *text;
@@
-456,12
+456,12
@@
insert_function_into_syntax_area (GtkTreeIter iter,
static void
static void
-psppire_dialog_action_compute_activate (
Gtk
Action *a)
+psppire_dialog_action_compute_activate (
PsppireDialog
Action *a)
{
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
PsppireDialogActionCompute *act = PSPPIRE_DIALOG_ACTION_COMPUTE (a);
{
PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
PsppireDialogActionCompute *act = PSPPIRE_DIALOG_ACTION_COMPUTE (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)
{
@@
-527,8
+527,6
@@
psppire_dialog_action_compute_activate (GtkAction *a)
psppire_dialog_action_set_refresh (pda, refresh);
}
psppire_dialog_action_set_refresh (pda, refresh);
}
- if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_compute_parent_class)->activate)
- PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_compute_parent_class)->activate (pda);
}
static void
}
static void