From 33c31cdcdb285b20ed0286f2ec6f87e39d666666 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sun, 4 Aug 2019 20:21:06 +0200 Subject: Create new InxWidget base class for extension widgets. --- src/extension/prefdialog/parameter-description.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/prefdialog/parameter-description.cpp') diff --git a/src/extension/prefdialog/parameter-description.cpp b/src/extension/prefdialog/parameter-description.cpp index 7ab607a54..9c6912d81 100644 --- a/src/extension/prefdialog/parameter-description.cpp +++ b/src/extension/prefdialog/parameter-description.cpp @@ -100,7 +100,7 @@ Gtk::Widget *ParamDescription::get_widget (SPDocument * /*doc*/, Inkscape::XML:: // This means texts can not shrink anymore (they can still grow, though) and it's also necessary // to prevent https://bugzilla.gnome.org/show_bug.cgi?id=773572 int len = newtext.length(); - label->set_width_chars(len > Parameter::GUI_MAX_LINE_LENGTH ? Parameter::GUI_MAX_LINE_LENGTH : len); + label->set_width_chars(len > GUI_MAX_LINE_LENGTH ? GUI_MAX_LINE_LENGTH : len); label->show(); -- cgit v1.2.3