summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/widget.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-07 22:38:55 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:39 +0000
commita5e704137d4231a68b2a45951301d98019a26316 (patch)
treef30ac05908507806cd10eae67a6bcca8e86f0efb /src/extension/prefdialog/widget.cpp
parentRemove completely unused "doc" and "node" parameters (diff)
downloadinkscape-a5e704137d4231a68b2a45951301d98019a26316.tar.gz
inkscape-a5e704137d4231a68b2a45951301d98019a26316.zip
Make sure we have get_widget()
Diffstat (limited to 'src/extension/prefdialog/widget.cpp')
-rw-r--r--src/extension/prefdialog/widget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extension/prefdialog/widget.cpp b/src/extension/prefdialog/widget.cpp
index d1035ef85..7d37dd122 100644
--- a/src/extension/prefdialog/widget.cpp
+++ b/src/extension/prefdialog/widget.cpp
@@ -125,10 +125,13 @@ InxWidget::~InxWidget()
_appearance = nullptr;
}
-/** Basically, if there is no widget pass a NULL. */
Gtk::Widget *
InxWidget::get_widget(sigc::signal<void> * /*changeSignal*/)
{
+ // if we end up here we're missing a definition of ::get_widget() in one of the subclasses
+ g_critical("InxWidget::get_widget called from widget of type '%s' in extension '%s'",
+ typeid(this).name(), _extension->get_id());
+ g_assert_not_reached();
return nullptr;
}