[Github-comments] [geany/geany] build.c: Fix memory leak & make some small refactorings (#2271)
Matthew Brush
notifications at xxxxx
Sat Aug 24 00:52:46 UTC 2019
codebrainz commented on this pull request.
> @@ -1547,25 +1542,17 @@ static void set_stop_button(gboolean stop)
GtkToolButton *run_button;
run_button = GTK_TOOL_BUTTON(toolbar_get_widget_by_name("Run"));
- if (run_button != NULL)
- button_stock_id = gtk_tool_button_get_stock_id(run_button);
+ if (!run_button) return;
Minor nit, but should have space after `!` and line break before `return`.
--
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/2271#pullrequestreview-279267026
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190823/6e9f66d8/attachment.html>
More information about the Github-comments
mailing list