Fix assertion in gdl-dock-item-grip.c
The following Merge Request (MR) has been forwarded from GitHub in order to prevent the GNOME Project from losing contributions coming from un-official channels. And for contributors to not see their valuable contributions not being accounted for.
Relevant information:
Github handle: acidtonic
MR URL: https://github.com/GNOME/gdl/pull/2
Patch URL: https://github.com/GNOME/gdl/pull/2.patch
Body of the MR:
Fixed assertion that was hitting on both linux and windows that prevented dockbars from having a grip and being unable to be dragged.
It seemed like regardless of the label being created or not this would be triggered after creating more docks or dragging and dropping one.
Looked like all the data is there to create the label if it's null so I simply removed the assertion and made it create the label which fixed the issue for me and no longer produces assertion errors.
Would love to get this upstreamed.