From 354f364c1ce5428453a8601b31c91b910b7b8ef3 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sun, 13 Nov 2011 20:18:47 +0100 Subject: various: warnings and initalization (bzr r10737) --- src/ui/widget/licensor.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/ui/widget/licensor.cpp') 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); -- cgit v1.2.3