From c049c82bbdda4c016f5ee28bce86918b60315dd2 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Fri, 12 Oct 2012 17:55:09 +0200 Subject: fix 64bit-portability-issue --- applets/wncklet/window-list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c index 0b393bed..bd4355a3 100644 --- a/applets/wncklet/window-list.c +++ b/applets/wncklet/window-list.c @@ -635,9 +635,9 @@ static void setup_dialog(GtkBuilder* builder, TasklistData* tasklist) /* Window grouping: */ button = get_grouping_button(tasklist, tasklist->grouping); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE); - g_object_set_data(G_OBJECT(tasklist->never_group_radio), "group_value", MATEWNCK_TASKLIST_NEVER_GROUP); - g_object_set_data(G_OBJECT(tasklist->auto_group_radio), "group_value", MATEWNCK_TASKLIST_AUTO_GROUP); - g_object_set_data(G_OBJECT(tasklist->always_group_radio), "group_value", MATEWNCK_TASKLIST_ALWAYS_GROUP); + g_object_set_data(G_OBJECT(tasklist->never_group_radio), "group_value", GINT_TO_POINTER(MATEWNCK_TASKLIST_NEVER_GROUP)); + g_object_set_data(G_OBJECT(tasklist->auto_group_radio), "group_value", GINT_TO_POINTER(MATEWNCK_TASKLIST_AUTO_GROUP)); + g_object_set_data(G_OBJECT(tasklist->always_group_radio), "group_value", GINT_TO_POINTER(MATEWNCK_TASKLIST_ALWAYS_GROUP)); g_signal_connect(G_OBJECT(tasklist->never_group_radio), "toggled", (GCallback) group_windows_toggled, tasklist); g_signal_connect(G_OBJECT(tasklist->auto_group_radio), "toggled", (GCallback) group_windows_toggled, tasklist); -- cgit v1.2.1