After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722024 - gdl/gdl-dock-bar.c: non-void function should return a value
gdl/gdl-dock-bar.c: non-void function should return a value
Product: gdl
Classification: Other
Component: general
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Reported: 2014-01-12 03:57 UTC by Ting-Wei Lan
Modified: 2014-01-13 20:54 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Ting-Wei Lan 2014-01-12 03:57:58 UTC
In gdl/gdl-dock-bar.c, the function gdl_dock_bar_get_style uses g_return_if_fail, which should be replaced by g_return_val_if_fail.
Comment 1 Sébastien Granjoux 2014-01-13 20:54:18 UTC
Thank for reporting this bug, I have fixed it in the master branch.

For such thing, it's quite easy to write a patch. Do not hesitate to provide a patch if you can.