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 690943 - sourceview: Don't check if objects are not NULL before calling g_clear_object().
sourceview: Don't check if objects are not NULL before calling g_clear_object().
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: gtksourceview
unspecified
Other All
: Normal normal
: ---
Assigned To: Johannes Schmid
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-01 17:11 UTC by Carl-Anton Ingmarsson
Modified: 2013-01-01 21:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sourceview: Don't check if objects are not NULL before calling g_clear_object(). (1.68 KB, patch)
2013-01-01 17:11 UTC, Carl-Anton Ingmarsson
committed Details | Review

Description Carl-Anton Ingmarsson 2013-01-01 17:11:53 UTC
See attached patch.
Comment 1 Carl-Anton Ingmarsson 2013-01-01 17:11:56 UTC
Created attachment 232450 [details] [review]
sourceview: Don't check if objects are not NULL before calling g_clear_object().

g_clear_object() does that itself so there's no need to do it.
Comment 2 Sébastien Granjoux 2013-01-01 21:19:13 UTC
Review of attachment 232450 [details] [review]:

Thanks, I have committed it.