From: glimmer07 Date: Mon, 17 Aug 2009 18:52:11 +0000 (+0000) Subject: More documentation. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f71a1d814d75fc08a50d7225270b881064e2af30;p=inkscape.git More documentation. --- diff --git a/src/extension/dbus/Notes.txt b/src/extension/dbus/Notes.txt index 25c3f35b5..d7c34aac0 100644 --- a/src/extension/dbus/Notes.txt +++ b/src/extension/dbus/Notes.txt @@ -61,6 +61,7 @@ BUGS: *The following do not behave like the documentation: -document_interface_transform -document_interface_text + -document_interface_line EFFICIENCY: *Need better way to retrieve objects by name. diff --git a/src/extension/dbus/dbus-init.cpp b/src/extension/dbus/dbus-init.cpp index dfd69d9fa..253d6b938 100644 --- a/src/extension/dbus/dbus-init.cpp +++ b/src/extension/dbus/dbus-init.cpp @@ -1,4 +1,18 @@ - +/* + * This is where Inkscape connects to the DBus when it starts and + * registers the main interface. + * + * Also where new interfaces are registered when a new document is created. + * (Not called directly by application-interface but called indirectly.) + * + * Authors: + * Soren Berg + * + * Copyright (C) 2009 Soren Berg + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + #include #include "dbus-init.h" diff --git a/src/extension/dbus/dbus-init.h b/src/extension/dbus/dbus-init.h index f76483170..4b07acfb4 100644 --- a/src/extension/dbus/dbus-init.h +++ b/src/extension/dbus/dbus-init.h @@ -2,7 +2,7 @@ * Authors: * Soren Berg * - * Copyright (C) 2004 Authors + * Copyright (C) 2009 Authors * * Released under GNU GPL, read the file 'COPYING' for more information */ diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp index e7af7096c..05dd2925e 100644 --- a/src/extension/dbus/document-interface.cpp +++ b/src/extension/dbus/document-interface.cpp @@ -449,6 +449,7 @@ document_interface_ellipse (DocumentInterface *object, int x, int y, return document_interface_ellipse_center (object, x+rx, y+ry, rx, ry, error); } +/* FIXME: makes line but gets one endpoint wrong.*/ gchar* document_interface_line (DocumentInterface *object, int x, int y, int x2, int y2, GError **error)