summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 04d3a147c..ebc65830f 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -66,6 +66,8 @@
static gint sp_document_idle_handler(gpointer data);
+// JON: This must stay as gboolean because its used as a callback into
+// our legacy c stuff in here. Would like to make bool
gboolean sp_document_resource_list_free(gpointer key, gpointer value, gpointer data);
static gint doc_count = 0;
@@ -1106,6 +1108,8 @@ sigc::connection sp_document_resources_changed_connect(SPDocument *document,
/* Helpers */
+// JON: This must stay this way because it is used as a callback for
+// legacy glib code which needs to be moved to glibmm
gboolean
sp_document_resource_list_free(gpointer key, gpointer value, gpointer data)
{