diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-04-21 20:02:25 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-04-21 20:02:25 +0200 |
commit | fe73bf9771e8294af4c8a11ec4c2891ff8f8d859 (patch) | |
tree | 1f0ccd69038dfda52184e5208dc366884eaf1cfc /glib | |
parent | 6d468cfa0cb89760e5d6cca43521cde6d99aa52e (diff) |
[glib-demo] GTime is deprecated, use time_t instead
Diffstat (limited to 'glib')
-rw-r--r-- | glib/demo/utils.c | 2 | ||||
-rw-r--r-- | glib/demo/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/glib/demo/utils.c b/glib/demo/utils.c index 5fd0a10b..d1fa8ff1 100644 --- a/glib/demo/utils.c +++ b/glib/demo/utils.c @@ -238,7 +238,7 @@ pgd_action_view_set_action (GtkWidget *action_view, } gchar * -pgd_format_date (GTime utime) +pgd_format_date (time_t utime) { time_t time = (time_t) utime; char s[256]; diff --git a/glib/demo/utils.h b/glib/demo/utils.h index a757482a..72c3ef30 100644 --- a/glib/demo/utils.h +++ b/glib/demo/utils.h @@ -36,7 +36,7 @@ void pgd_table_add_property_with_value_widget (GtkTable *table, GtkWidget *pgd_action_view_new (PopplerDocument *document); void pgd_action_view_set_action (GtkWidget *action_view, PopplerAction *action); -gchar *pgd_format_date (GTime utime); +gchar *pgd_format_date (time_t utime); G_END_DECLS |