From: Daniel Rahn
Subject: abstract glib API
Glib API may change with minor releases. This patch abstracts glib
somehow from the various PAN source files to concentrate needed changes
in a single include file.
Adopting to glib 2.16.1 at the same time.
Signed-off-by: Daniel Rahn
Signed-off-by: Duncan
---
data-impl/data-impl.cc | 2 -
data-impl/data-io.cc | 3 --
data-impl/groups.cc | 2 -
data-impl/headers.cc | 3 --
data-impl/my-tree.cc | 2 -
data-impl/profiles.cc | 3 --
data-impl/server.cc | 3 --
data-impl/xover.cc | 2 -
data/article-cache.cc | 3 --
data/article-cache.h | 2 -
general/e-util.cc | 3 --
general/file-util.cc | 3 --
general/file-util.h | 18 ----------------
general/glib-compat.h | 45 ++++++++++++++++++++++++++++++++++++++++++
general/line-reader.cc | 2 -
general/locking.h | 2 -
general/text-match.cc | 3 --
general/time-elapsed.h | 4 ---
general/utf8-utils.cc | 2 -
general/worker-pool.cc | 2 -
general/worker-pool.h | 3 --
gui/actions.cc | 2 -
gui/body-pane.cc | 2 -
gui/dl-headers-ui.cc | 3 --
gui/e-charset-picker.c | 2 -
gui/group-pane.cc | 2 -
gui/group-prefs-dialog.cc | 2 -
gui/gui.cc | 2 -
gui/header-pane.cc | 2 -
gui/log-ui.cc | 2 -
gui/pan-file-entry.cc | 2 -
gui/pan.cc | 2 -
gui/post-ui.cc | 2 -
gui/prefs-ui.cc | 2 -
gui/prefs.cc | 3 --
gui/profiles-dialog.cc | 2 -
gui/render-bytes.cc | 2 -
gui/render-bytes.h | 2 -
gui/save-ui.cc | 2 -
gui/score-add-ui.cc | 2 -
gui/score-view-ui.cc | 2 -
gui/server-ui.cc | 3 --
gui/task-pane.cc | 3 --
gui/url.cc | 3 --
tasks/decoder.cc | 6 ++---
tasks/nntp-pool.cc | 2 -
tasks/nntp.cc | 3 --
tasks/socket-impl-gio.cc | 3 --
tasks/task-article.cc | 2 -
tasks/task-groups.cc | 2 -
tasks/task-post.cc | 2 -
tasks/task-xover.cc | 2 -
usenet-utils/filter-info.cc | 3 --
usenet-utils/gnksa.cc | 2 -
usenet-utils/message-check.cc | 2 -
usenet-utils/mime-utils.h | 2 -
usenet-utils/scorefile.cc | 2 -
usenet-utils/text-massager.cc | 3 --
58 files changed, 104 insertions(+), 95 deletions(-)
--- pan-0.132/pan/data/article-cache.cc 2007-08-01 19:00:01.000000000 +0200
+++ BUILD/pan-0.132/pan/data/article-cache.cc 2008-03-29 10:28:09.175341212 +0100
@@ -27,8 +27,7 @@
#include
#include
- #include
- #include
+ #include
#include
}
--- pan-0.132/pan/data/article-cache.h 2007-08-01 19:00:01.000000000 +0200
+++ BUILD/pan-0.132/pan/data/article-cache.h 2008-03-29 10:28:44.560580324 +0100
@@ -23,7 +23,7 @@
#include