summaryrefslogtreecommitdiff
path: root/src/trg-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-model.c')
-rw-r--r--src/trg-model.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/trg-model.c b/src/trg-model.c
index fa67d08..c9ce968 100644
--- a/src/trg-model.c
+++ b/src/trg-model.c
@@ -17,9 +17,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <glib.h>
#include <gtk/gtk.h>
#include <json-glib/json-glib.h>
+#include "trg-model.h"
/* An extension of GtkListStore which provides some functions for looking up
* an entry by ID. Also for removing entries which have an old update serial,
@@ -32,7 +37,7 @@ struct trg_model_remove_removed_foreachfunc_args {
GList *toRemove;
};
-gboolean
+static gboolean
trg_model_remove_removed_foreachfunc(GtkTreeModel * model,
GtkTreePath * path G_GNUC_UNUSED,
GtkTreeIter * iter, gpointer data)