aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gncal-todo.c')
-rw-r--r--calendar/gncal-todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c
index d715c266eb..eae0e556ca 100644
--- a/calendar/gncal-todo.c
+++ b/calendar/gncal-todo.c
@@ -143,7 +143,7 @@ get_clist_selected_ico (GtkCList *clist)
if (!clist->selection)
return NULL;
- sel = (gint) clist->selection->data;
+ sel = GPOINTER_TO_INT(clist->selection->data);
return gtk_clist_get_row_data (clist, sel);
}