summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/licensor.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-07-28 12:19:42 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-07-28 12:19:42 +0000
commit58111034d09da960cf9982b703c6ab2647422e0b (patch)
treeae1f1c82364cbf7779f8c97f92f4ead7fa99185c /src/ui/widget/licensor.cpp
parentextensions: Drop GTKMM2 fallbacks (diff)
downloadinkscape-58111034d09da960cf9982b703c6ab2647422e0b.tar.gz
inkscape-58111034d09da960cf9982b703c6ab2647422e0b.zip
ui/widgets: Drop GTK2 fallbacks
(bzr r15023.2.6)
Diffstat (limited to 'src/ui/widget/licensor.cpp')
-rw-r--r--src/ui/widget/licensor.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp
index d21e848f2..66ee612bf 100644
--- a/src/ui/widget/licensor.cpp
+++ b/src/ui/widget/licensor.cpp
@@ -134,18 +134,10 @@ void Licensor::update (SPDocument *doc)
for (i=0; rdf_licenses[i].name; i++)
if (license == &rdf_licenses[i])
break;
-#if WITH_GTKMM_3_0
static_cast<LicenseItem*>(get_children()[i+1])->set_active();
-#else
- static_cast<LicenseItem*>(children()[i+1].get_widget())->set_active();
-#endif
}
else {
-#if WITH_GTKMM_3_0
static_cast<LicenseItem*>(get_children()[0])->set_active();
-#else
- static_cast<LicenseItem*>(children()[0].get_widget())->set_active();
-#endif
}
/* update the URI */