diff options
author | Herbert V. Riedel <hvr@hvrlab.ml.org> | 1998-11-24 02:23:35 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-11-24 02:23:35 +0800 |
commit | 309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac (patch) | |
tree | a1c4fbb8e108123405f861faa66276afdeee1cfd /calendar/gui/eventedit.c | |
parent | 9926c18e0410ce42116d2db3b5e969fb65c7aad5 (diff) | |
download | gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.gz gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.bz2 gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.lz gsoc2013-evolution-309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac.tar.xz 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/eventedit.c')
-rw-r--r-- | calendar/gui/eventedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index a24f2e2101..18659841c0 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -1317,7 +1317,7 @@ change_exception (GtkWidget *widget, EventEditor *ee) int sel; clist = GTK_CLIST (ee->recur_ex_clist); - sel = (gint) clist->selection->data; + sel = GPOINTER_TO_INT(clist->selection->data); t = gtk_clist_get_row_data (clist, sel); *t = gnome_date_edit_get_date (GNOME_DATE_EDIT (ee->recur_ex_date)); @@ -1332,7 +1332,7 @@ delete_exception (GtkWidget *widget, EventEditor *ee) int sel; clist = GTK_CLIST (ee->recur_ex_clist); - sel = (gint) clist->selection->data; + sel = GPOINTER_TO_INT(clist->selection->data); g_free (gtk_clist_get_row_data (clist, sel)); /* free the time_t stored there */ |