From c5eea2b77ef3fb90c8ddcb953f1086ba5bb123f3 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 19 Oct 2009 13:40:56 -0700 Subject: [PATCH] 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). --- database.cc | 2 +- message.c | 2 +- notmuch.c | 2 +- 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 -#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]))