summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-12 17:55:09 +0200
committerStefano Karapetsas <[email protected]>2012-10-12 17:55:09 +0200
commitc049c82bbdda4c016f5ee28bce86918b60315dd2 (patch)
tree23e8fb08405034a5e1a98cab83509b3ca3d9f252 /applets/wncklet
parent2f38f0be5c92d7239ccc5f1690174a6440c4dca5 (diff)
downloadmate-panel-c049c82bbdda4c016f5ee28bce86918b60315dd2.tar.bz2
mate-panel-c049c82bbdda4c016f5ee28bce86918b60315dd2.tar.xz
fix 64bit-portability-issue
Diffstat (limited to 'applets/wncklet')
-rw-r--r--applets/wncklet/window-list.c6
1 files 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);