]> git.notmuchmail.org Git - notmuch/commitdiff
Document which pieces of glib we're still using.
authorCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:40:56 +0000 (13:40 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 19 Oct 2009 20:40:56 +0000 (13:40 -0700)
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).

database.cc
message.c
notmuch.c

index 6ac04f74ee4f4dbbd19908f3d82c47c554458d2d..2f3959fa5f6a3a28168c0738545df2b8ce97cacd 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <xapian.h>
 
-#include <glib.h>
+#include <glib.h> /* g_strdup_printf, g_free, GHashTable */
 
 using namespace std;
 
index ea5d239aaca4bfed44eac91bcda260b16259ca84..646403fb6fb198417766b76920e9ee1bfd65232b 100644 (file)
--- 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 */
index e4b5dff6442fc686456410ee01871bcb858bff7e..5853fe55fe0f3b6c9d2a8f842a72809269298e97 100644 (file)
--- 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]))