summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/licensor.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-11-13 19:18:47 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-11-13 19:18:47 +0000
commit354f364c1ce5428453a8601b31c91b910b7b8ef3 (patch)
tree0fedb85cf38f3fd0f41e15d66e2cb8266f5769c1 /src/ui/widget/licensor.cpp
parentcppcheck: initialization / warning cleanup (diff)
downloadinkscape-354f364c1ce5428453a8601b31c91b910b7b8ef3.tar.gz
inkscape-354f364c1ce5428453a8601b31c91b910b7b8ef3.zip
various: warnings and initalization
(bzr r10737)
Diffstat (limited to 'src/ui/widget/licensor.cpp')
-rw-r--r--src/ui/widget/licensor.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp
index 9cb904c9f..7caf732a4 100644
--- a/src/ui/widget/licensor.cpp
+++ b/src/ui/widget/licensor.cpp
@@ -57,8 +57,7 @@ LicenseItem::LicenseItem (struct rdf_license_t const* license, EntityEntry* enti
}
/// \pre it is assumed that the license URI entry is a Gtk::Entry
-void
-LicenseItem::on_toggled()
+void LicenseItem::on_toggled()
{
if (_wr.isUpdating()) return;
@@ -83,8 +82,7 @@ Licensor::~Licensor()
if (_eentry) delete _eentry;
}
-void
-Licensor::init (Gtk::Tooltips& tt, Registry& wr)
+void Licensor::init (Gtk::Tooltips& tt, Registry& wr)
{
/* add license-specific metadata entry areas */
rdf_work_entity_t* entity = rdf_find_entity ( "license_uri" );
@@ -118,8 +116,7 @@ Licensor::init (Gtk::Tooltips& tt, Registry& wr)
show_all_children();
}
-void
-Licensor::update (SPDocument *doc)
+void Licensor::update (SPDocument *doc)
{
/* identify the license info */
struct rdf_license_t * license = rdf_get_license (doc);