aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2012-09-06 23:40:51 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-07 03:32:17 +0800
commit8431cabd4d8f72dfaadbe64adf9f8dc89a26ae62 (patch)
treed4c02fa58943767566bc9c139793876890e2faea
parentdddc036986d7fc8da4ce735ffdccf91c2315f6be (diff)
downloadgsoc2013-epiphany-8431cabd4d8f72dfaadbe64adf9f8dc89a26ae62.tar.gz
gsoc2013-epiphany-8431cabd4d8f72dfaadbe64adf9f8dc89a26ae62.tar.zst
gsoc2013-epiphany-8431cabd4d8f72dfaadbe64adf9f8dc89a26ae62.zip
EphyOverviewStore: don't register the snapshot mtime as long
All code paths use int, and this breaks on architechtures where long is not the same as int (such as x86_64). https://bugzilla.gnome.org/show_bug.cgi?id=683029 [Do the same for the visit time column] Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
-rw-r--r--lib/widgets/ephy-overview-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/ephy-overview-store.c b/lib/widgets/ephy-overview-store.c
index 99ef2cf45..074ec8bf1 100644
--- a/lib/widgets/ephy-overview-store.c
+++ b/lib/widgets/ephy-overview-store.c
@@ -161,10 +161,10 @@ ephy_overview_store_init (EphyOverviewStore *self)
types[EPHY_OVERVIEW_STORE_TITLE] = G_TYPE_STRING;
types[EPHY_OVERVIEW_STORE_AUTHOR] = G_TYPE_STRING;
types[EPHY_OVERVIEW_STORE_SNAPSHOT] = GDK_TYPE_PIXBUF;
- types[EPHY_OVERVIEW_STORE_LAST_VISIT] = G_TYPE_LONG;
+ types[EPHY_OVERVIEW_STORE_LAST_VISIT] = G_TYPE_INT;
types[EPHY_OVERVIEW_STORE_SELECTED] = G_TYPE_BOOLEAN;
types[EPHY_OVERVIEW_STORE_SNAPSHOT_CANCELLABLE] = G_TYPE_CANCELLABLE;
- types[EPHY_OVERVIEW_STORE_SNAPSHOT_MTIME] = G_TYPE_LONG;
+ types[EPHY_OVERVIEW_STORE_SNAPSHOT_MTIME] = G_TYPE_INT;
types[EPHY_OVERVIEW_STORE_CLOSE_BUTTON_RENDER_POLICY] = EPHY_TYPE_REMOVABLE_PIXBUF_RENDER_POLICY;
gtk_list_store_set_column_types (GTK_LIST_STORE (self),