Files
ports/graphics/xournalpp/files/patch-src_gui_dialog_toolbarCustomize_ToolbarAdapter.cpp
T
2021-01-17 23:19:56 +00:00

14 lines
511 B
C++

- 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)
{