summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0cda7f6)
raw | patch | inline | side by side (parent: 0cda7f6)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sun, 21 May 2006 04:12:36 +0000 (04:12 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sun, 21 May 2006 04:12:36 +0000 (04:12 +0000) |
of glib older that 2.9.0, use g_date_set_time() instead of
g_date_set_time_t().
g_date_set_time_t().
ChangeLog | patch | blob | history | |
src/extension/internal/pdf.cpp | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 197a7c855993534e3e56f80edee29e66af93f8ef..8b601381e65e6d856c0ec60ad7108bd10950afb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-05-21 Michael Wybrow <mjwybrow@users.sourceforge.net>
+
+ * src/extension/internal/pdf.cpp: Compilation fix. For versions
+ of glib older that 2.9.0, use g_date_set_time() instead of
+ g_date_set_time_t().
+
2006-05-20 MenTaLguY <mental@rydia.net>
* src/extensin/internal/ps.cpp:
index cd9ec7685a2c1be51e2e5df1df1d2801c42c9995..d9547270eed648f3a8d4f9182d060235f54162cf 100644 (file)
GDate date;\r
GTimeVal ltime;\r
glong time_hh, time_mm, time_ss;\r
+#if GLIB_CHECK_VERSION(2,9,0)\r
g_date_set_time_t (&date, time (NULL));\r
+#else\r
+ g_date_set_time(&date, time (NULL));\r
+#endif\r
gchar date_str[100], time_str[100];\r
g_date_strftime(date_str, 99, "%Y%m%d", &date);\r
g_get_current_time(<ime);\r