summaryrefslogtreecommitdiff
path: root/src/trg-model.c
diff options
context:
space:
mode:
authorGravatar Patrick Griffis <tingping@tingping.se>2015-12-26 20:25:45 -0500
committerGravatar Patrick Griffis <tingping@tingping.se>2016-01-19 19:35:10 -0500
commit0646e115fd635e0b96739ea39e65c0ef78ffaa30 (patch)
tree14651704a28f0c5c6a6b26d95d6c8cf7617e93a1 /src/trg-model.c
parent2f7f7e916963d3a2f31dcabd34fbb50b562230aa (diff)
Fix numerous warnings/errors
Diffstat (limited to 'src/trg-model.c')
-rw-r--r--src/trg-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trg-model.c b/src/trg-model.c
index fa67d08..2e1ae28 100644
--- a/src/trg-model.c
+++ b/src/trg-model.c
@@ -20,6 +20,7 @@
#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 +33,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)