aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-07-20 02:30:02 +0800
committerBenjamin Otte <otte@gnome.org>2009-07-20 02:30:41 +0800
commit5f97a28f42941bda9b9a29d792da65f8395e651e (patch)
tree70a0f440ab348c9ac76f6d9cbf3d78068ea11fad /src/ephy-history-window.c
parent82ec42b36a57e402729e0eba7edf2401b8061836 (diff)
downloadgsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar.gz
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar.bz2
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar.lz
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar.xz
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.tar.zst
gsoc2013-epiphany-5f97a28f42941bda9b9a29d792da65f8395e651e.zip
Fix gcc warnings by using GINT_TO_POINTER/GPOINTER_TO_INT
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index ea196c126..f41285a2d 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1149,7 +1149,7 @@ convert_cell_data_func (GtkTreeViewColumn *column,
GtkTreeIter *iter,
gpointer user_data)
{
- int col_id = (int) user_data;
+ int col_id = GPOINTER_TO_INT (user_data);
int value;
time_t time;
char *friendly;
@@ -1176,7 +1176,7 @@ parse_time_into_date (GtkTreeViewColumn *column,
renderer = GTK_CELL_RENDERER (renderers_list->data);
gtk_tree_view_column_set_cell_data_func (column, renderer,
(GtkTreeCellDataFunc) convert_cell_data_func,
- (gpointer) column_id,
+ GINT_TO_POINTER (column_id),
NULL);
g_list_free (renderers_list);
}