aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:40:56 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:40:56 -0700
commitc5eea2b77ef3fb90c8ddcb953f1086ba5bb123f3 (patch)
tree14e3478826be78de2bf08bd9d616266305aa91b6
parentfa562fa22b214a7d253e80c62d4f4c97138a6155 (diff)
Document which pieces of glib we're still using.
Looks like we can copy in a hash-table implementation, (from cairo, say), and then a few _ascii_ functions from glib, (we'll need to switch a few current uses if things like isspace, etc. to locale- independent versions as well). So not too hard to free ourselves of glib for now, (until we add GMime back in later, of course).
-rw-r--r--database.cc2
-rw-r--r--message.c2
-rw-r--r--notmuch.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/database.cc b/database.cc
index 6ac04f74..2f3959fa 100644
--- a/database.cc
+++ b/database.cc
@@ -24,7 +24,7 @@
#include <xapian.h>
-#include <glib.h>
+#include <glib.h> /* g_strdup_printf, g_free, GHashTable */
using namespace std;
diff --git a/message.c b/message.c
index ea5d239a..646403fb 100644
--- a/message.c
+++ b/message.c
@@ -22,7 +22,7 @@
#include "notmuch-private.h"
-#include <glib.h>
+#include <glib.h> /* GHashTable */
struct _notmuch_message {
/* File objects */
diff --git a/notmuch.c b/notmuch.c
index e4b5dff6..5853fe55 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -30,7 +30,7 @@
#include <dirent.h>
#include <errno.h>
-#include <glib.h>
+#include <glib.h> /* GIOChannel */
#define ARRAY_SIZE(arr) (sizeof (arr) / sizeof (arr[0]))