summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-06-09 16:54:57 +0000
committerDavid Robillard <d@drobilla.net>2013-06-09 16:54:57 +0000
commit2690f9ceb82537e921a33410f55bbdc065a872e1 (patch)
treeb6c14aed49ff98c202688f3c0e0a37b254697fdf /src
parent0b266cf96ac04eb9052df6d102e5defafc1b30b0 (diff)
downloadganv-2690f9ceb82537e921a33410f55bbdc065a872e1.tar.gz
ganv-2690f9ceb82537e921a33410f55bbdc065a872e1.tar.bz2
ganv-2690f9ceb82537e921a33410f55bbdc065a872e1.zip
Fix compilation with --jack-dbus (#917).
I don't know why I maintain this or what the point of it is... git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5141 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index e028b26..7111e1a 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -2037,6 +2037,12 @@ ganv_canvas_for_each_selected_node(GanvCanvas* canvas,
}
}
+gboolean
+ganv_canvas_empty(const GanvCanvas* canvas)
+{
+ return canvas->impl->_items.empty();
+}
+
void
ganv_canvas_for_each_edge_from(GanvCanvas* canvas,
const GanvNode* tail,