void-packages/srcpkgs/inkscape/patches/fix-invalid-nullptr.patch
2020-05-07 09:29:41 +02:00

13 lines
767 B
Diff

--- src/extension/effect.cpp.orig 2019-12-03 18:54:18.521689345 +0100
+++ src/extension/effect.cpp 2019-12-03 18:53:57.485477512 +0100
@@ -38,8 +38,8 @@ Effect::Effect (Inkscape::XML::Node *in_
: Extension(in_repr, in_imp, base_directory)
, _id_noprefs(Glib::ustring(get_id()) + ".noprefs")
, _name_noprefs(Glib::ustring(_(get_name())) + _(" (No preferences)"))
- , _verb(get_id(), get_name(), nullptr, nullptr, this, true)
- , _verb_nopref(_id_noprefs.c_str(), _name_noprefs.c_str(), nullptr, nullptr, this, false)
+ , _verb(get_id(), get_name(), "", nullptr, this, true)
+ , _verb_nopref(_id_noprefs.c_str(), _name_noprefs.c_str(), "", nullptr, this, false)
, _menu_node(nullptr), _workingDialog(true)
, _prefDialog(nullptr)
{