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=dc3cdfba63549a72d40bc1473c134841d2587b4b;hpb=c972eebe3286130ba9af8b0520a35a42a8d5ef75;p=pspp diff --git a/src/ui/gui/psppire-data-sheet.c b/src/ui/gui/psppire-data-sheet.c index dc3cdfba63..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; @@ -352,6 +352,7 @@ psppire_data_sheet_new (void) "forward-conversion", psppire_data_store_value_to_string, "reverse-conversion", myreversefunc, "editable", TRUE, + "horizontal-draggable", TRUE, NULL); return GTK_WIDGET (obj); @@ -377,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);