aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
authorHerbert V. Riedel <hvr@hvrlab.ml.org>1998-11-24 02:23:35 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-11-24 02:23:35 +0800
commit309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac (patch)
treea1c4fbb8e108123405f861faa66276afdeee1cfd /calendar/gui/gncal-todo.c
parent9926c18e0410ce42116d2db3b5e969fb65c7aad5 (diff)
downloadgsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.gz
gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.zst
gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.zip
use GPOINTER_TO_INT
1998-11-23 Herbert V. Riedel <hvr@hvrlab.ml.org> * eventedit.c: use GPOINTER_TO_INT * gncal-todo.c: same. svn path=/trunk/; revision=483
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index d715c266eb..eae0e556ca 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/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);
}