GNOME Bugzilla – Bug 572236
[fixed by ifdef] Remove deprecated Glib symbols
Last modified: 2009-06-10 22:24:15 UTC
http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib ./src/tools/dao.c: g_date_set_time_t (&date, now); ./src/tools/dao.c: g_date_set_time (&date, t.tv_sec); ./configure.in:AC_CHECK_FUNCS(g_date_set_time_t g_slice_alloc pango_font_map_create_context gtk_recent_manager_get_default gsf_open_pkg_foreach_rel gsf_infile_msvba_steal_modules) http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#g-date-set-time
There is nothing wrong with that code. In particular, it does not use deprecated symbols.
Sigh... OK, ifdef'ed. Thanks. 990 #ifdef HAVE_G_DATE_SET_TIME_T 991 now = time (NULL); 992 g_date_set_time_t (&date, now); 993 #else 994 GTimeVal t; 995 g_get_current_time (&t); 996 now = t.tv_sec; 997 g_date_set_time (&date, t.tv_sec);
I will go ahead and set gnumeric to "not needed" for this goal.