summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/analysis/db/items/bookmark.c9
-rw-r--r--plugins/pychrysalide/analysis/db/items/switcher.c2
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/pychrysalide/analysis/db/items/bookmark.c b/plugins/pychrysalide/analysis/db/items/bookmark.c
index 274d72c..af649e3 100644
--- a/plugins/pychrysalide/analysis/db/items/bookmark.c
+++ b/plugins/pychrysalide/analysis/db/items/bookmark.c
@@ -161,8 +161,8 @@ static int py_db_bookmark_init(PyObject *self, PyObject *args, PyObject *kwds)
"\n" \
" DbBookmark(addr, comment=None)\n" \
"\n" \
- "Where addr is a location of type pychrysalide.arch.vmpa and" \
- " comment is a string or None.\n" \
+ "Where *addr* is a location of type pychrysalide.arch.vmpa and" \
+ " *comment* is a string or None.\n" \
"\n" \
"An empty comment is not enough to delete a bookmark for a given address;" \
" the *ERASER* flag from the pychrysalide.analysis.db.DbItem.DbItemFlags" \
@@ -231,7 +231,8 @@ static PyObject *py_db_bookmark_get_address(PyObject *self, void *closure)
#define DB_BOOKMARK_ADDRESS_ATTRIB PYTHON_GET_DEF_FULL \
( \
address, py_db_bookmark, \
- "Location of the bookmark." \
+ "Location of the bookmark, provided as a" \
+ " pychrysalide.arch.vmpa instance." \
)
bookmark = G_DB_BOOKMARK(pygobject_get(self));
@@ -566,7 +567,7 @@ bool ensure_python_bookmark_collection_is_registered(void)
dict = PyModule_GetDict(module);
- if (!ensure_python_db_item_is_registered())
+ if (!ensure_python_db_collection_is_registered())
return false;
if (!register_class_for_pygobject(dict, G_TYPE_BM_COLLECTION, type, get_python_db_collection_type()))
diff --git a/plugins/pychrysalide/analysis/db/items/switcher.c b/plugins/pychrysalide/analysis/db/items/switcher.c
index 07aa038..6ac5cdf 100644
--- a/plugins/pychrysalide/analysis/db/items/switcher.c
+++ b/plugins/pychrysalide/analysis/db/items/switcher.c
@@ -600,7 +600,7 @@ bool ensure_python_switcher_collection_is_registered(void)
dict = PyModule_GetDict(module);
- if (!ensure_python_db_item_is_registered())
+ if (!ensure_python_db_collection_is_registered())
return false;
if (!register_class_for_pygobject(dict, G_TYPE_SWITCHER_COLLECTION, type, get_python_db_collection_type()))