From 6f65ca557f8ad953b55b9a703643bbc790eb8da5 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Tue, 24 Sep 2013 11:09:43 -0400 Subject: change names for displayName and detailedDescription, improve char code and remove const. (bzr r12584) --- src/sp-item.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sp-item.cpp') diff --git a/src/sp-item.cpp b/src/sp-item.cpp index b7ef68f7d..bdcbefbba 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -933,7 +933,7 @@ void SPItem::invoke_print(SPPrintContext *ctx) } } -const char* SPItem::display_name() { +const char* SPItem::displayName() { return _("Object"); } @@ -946,10 +946,10 @@ gchar* SPItem::description() { * * Must be freed by caller. */ -gchar *SPItem::getDetailedDescription() +gchar *SPItem::detailedDescription() { gchar* s = g_strdup_printf("%s %s", - this->display_name(), this->description()); + this->displayName(), this->description()); if (s && clip_ref->getObject()) { gchar *snew = g_strdup_printf (_("%s; clipped"), s); -- cgit v1.2.3