GNOME Bugzilla – Bug 710541
st-widget: Use g_clear_pointer
Last modified: 2013-10-20 12:25:50 UTC
Minor cleanup noticed while looking at bug 710230
Created attachment 257746 [details] [review] st-widget: Use g_clear_pointer
Review of attachment 257746 [details] [review]: Looks good, though you could kill a couple more lines :-) ::: src/st/st-widget.c @@ +341,2 @@ if (priv->theme) + g_clear_pointer (&priv->theme, g_object_unref); g_clear_pointer() can be called unconditionally
Pushed with suggested change. Attachment 257746 [details] pushed as 4d1358b - st-widget: Use g_clear_pointer