X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-data-sheet.c;h=86122d35f8df3984c601971a931ef9080cda1f5c;hb=bf62643ef9f4f991acd777b26aa747adc7886d8f;hp=59268d21f431a3e569e8f7f3a4ddff654ebad02e;hpb=37cd3133c06caf3fce7e449a939098f62bd41a55;p=pspp diff --git a/src/ui/gui/psppire-data-sheet.c b/src/ui/gui/psppire-data-sheet.c index 59268d21f4..86122d35f8 100644 --- a/src/ui/gui/psppire-data-sheet.c +++ b/src/ui/gui/psppire-data-sheet.c @@ -360,7 +360,7 @@ psppire_data_sheet_new (void) static gboolean indicate_filtered_case (GtkWidget *widget, cairo_t *cr, PsppireDataStore *store) { - guint row = g_object_get_data (widget, "row"); + guint row = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "row")); if (!psppire_data_store_filtered (store, row)) return FALSE; @@ -380,8 +380,8 @@ button_post_create (GtkWidget *button, uint i, gpointer user_data) { PsppireDataStore *data_store = PSPPIRE_DATA_STORE (user_data); - g_object_set_data (button, "row", GUINT_TO_POINTER (i)); - g_signal_connect_after (button, "draw", indicate_filtered_case, data_store); + g_object_set_data (G_OBJECT (button), "row", GUINT_TO_POINTER (i)); + g_signal_connect_after (button, "draw", G_CALLBACK (indicate_filtered_case), data_store); } static void