From: Carl Worth Date: Mon, 19 Oct 2009 20:40:56 +0000 (-0700) Subject: Document which pieces of glib we're still using. X-Git-Tag: 0.1~828 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5eea2b77ef3fb90c8ddcb953f1086ba5bb123f3;p=notmuch.git 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). --- diff --git a/database.cc b/database.cc index 6ac04f74..2f3959fa 100644 --- a/database.cc +++ b/database.cc @@ -24,7 +24,7 @@ #include -#include +#include /* 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 +#include /* 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 #include -#include +#include /* GIOChannel */ #define ARRAY_SIZE(arr) (sizeof (arr) / sizeof (arr[0]))