X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-sheet.c;h=8cc32859a4f1c90c81ad3149d8304da28a94deca;hb=86454c8ab63804d02cb4f08e8b5e45299b8eb810;hp=86122d35f8df3984c601971a931ef9080cda1f5c;hpb=bf62643ef9f4f991acd777b26aa747adc7886d8f;p=pspp diff --git a/src/ui/gui/psppire-data-sheet.c b/src/ui/gui/psppire-data-sheet.c index 86122d35f8..8cc32859a4 100644 --- a/src/ui/gui/psppire-data-sheet.c +++ b/src/ui/gui/psppire-data-sheet.c @@ -110,7 +110,7 @@ gboolean myreversefunc (GtkTreeModel *model, gint col, gint row, const gchar *in static void show_cases_row_popup (PsppireDataSheet *sheet, int row, - uint button, uint state, gpointer p) + guint button, guint state, gpointer p) { GListModel *vmodel = NULL; g_object_get (sheet, "vmodel", &vmodel, NULL); @@ -186,7 +186,7 @@ create_data_row_header_popup_menu (PsppireDataSheet *sheet) static void -show_cases_column_popup (PsppireDataSheet *sheet, int column, uint button, uint state, +show_cases_column_popup (PsppireDataSheet *sheet, int column, guint button, guint state, gpointer p) { GListModel *hmodel = NULL; @@ -351,6 +351,8 @@ psppire_data_sheet_new (void) g_object_new (PSPPIRE_TYPE_DATA_SHEET, "forward-conversion", psppire_data_store_value_to_string, "reverse-conversion", myreversefunc, + "editable", TRUE, + "horizontal-draggable", TRUE, NULL); return GTK_WIDGET (obj); @@ -376,7 +378,7 @@ indicate_filtered_case (GtkWidget *widget, cairo_t *cr, PsppireDataStore *store) } static void -button_post_create (GtkWidget *button, uint i, gpointer user_data) +button_post_create (GtkWidget *button, guint i, gpointer user_data) { PsppireDataStore *data_store = PSPPIRE_DATA_STORE (user_data);