[Github-comments] [geany/geany] sidebar.c: Replace unhygienic CHANGE_TREE macro with function (#2345)

Thomas Martitz notifications at xxxxx
Wed Oct 9 05:58:35 UTC 2019


kugel- commented on this pull request.



> @@ -232,21 +232,18 @@ void sidebar_update_tag_list(GeanyDocument *doc, gboolean update)
 			gtk_widget_show(doc->priv->tag_tree);
 			g_object_ref((gpointer)doc->priv->tag_tree);	/* to hold it after removing */
 		}
-
 		doc->has_tags = symbols_recreate_tag_list(doc, SYMBOLS_SORT_USE_PREVIOUS);
 		doc->priv->tag_tree_dirty = FALSE;
 	}
 
 	if (doc->has_tags)
 	{

Can safely remove the curly braces now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2345#pullrequestreview-299183884
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191008/de12fde4/attachment.html>


More information about the Github-comments mailing list