MFH: r561886

graphics/xournalpp: Patch the bug that the upstream didn't fix for a while

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2021-01-28 05:36:56 +00:00
parent 5ac9881e4f
commit 9b0b581308
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=563112

View File

@ -0,0 +1,13 @@
- fix for https://github.com/xournalpp/xournalpp/issues/2222 that the upstream didn't fix for a while now
--- src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp.orig 2021-01-17 23:11:38 UTC
+++ src/gui/dialog/toolbarCustomize/ToolbarAdapter.cpp
@@ -271,7 +271,7 @@ bool ToolbarAdapter::toolbarDragMotionCb(GtkToolbar* t
ToolItemDragDropData* d = ToolItemDragCurrentData::getData();
- g_return_val_if_fail(d != NULL, NULL);
+ g_return_val_if_fail(d != NULL, false);
if (d->type == TOOL_ITEM_ITEM)
{