X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-editor.c;h=8638677125a5fe1a4aa2fd31c9d7a28aea080d64;hb=ce0e898dc6506c5d980e803e7bdcd27a1752fca6;hp=e79bd4f47038b8824b2ca69ba601b30ffd0a2cc9;hpb=9b50cd30a88398903028bd233ed6cbc3e4482db4;p=pspp diff --git a/src/ui/gui/psppire-data-editor.c b/src/ui/gui/psppire-data-editor.c index e79bd4f470..8638677125 100644 --- a/src/ui/gui/psppire-data-editor.c +++ b/src/ui/gui/psppire-data-editor.c @@ -224,7 +224,11 @@ psppire_data_editor_get_property (GObject *object, static void psppire_data_editor_switch_page (GtkNotebook *notebook, +#if GTK_DISABLE_DEPRECATED && GTK_CHECK_VERSION(2,20,0) + gpointer page, +#else GtkNotebookPage *page, +#endif guint page_num) { GTK_NOTEBOOK_CLASS (parent_class)->switch_page (notebook, page, page_num); @@ -339,7 +343,7 @@ on_var_sheet_var_double_clicked (PsppireVarSheet *var_sheet, gint dict_index, PSPPIRE_DATA_EDITOR_DATA_VIEW); data_sheet = psppire_data_editor_get_active_data_sheet (de); - psppire_data_sheet_show_variable (data_sheet, dict_index); + psppire_data_sheet_goto_variable (data_sheet, dict_index); return TRUE; } @@ -862,7 +866,7 @@ psppire_data_editor_goto_variable (PsppireDataEditor *de, gint dict_index) { case PSPPIRE_DATA_EDITOR_DATA_VIEW: data_sheet = psppire_data_editor_get_active_data_sheet (de); - psppire_data_sheet_show_variable (data_sheet, dict_index); + psppire_data_sheet_goto_variable (data_sheet, dict_index); break; case PSPPIRE_DATA_EDITOR_VARIABLE_VIEW: