Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Wed, 15 Oct 2014 05:17:04 UTC Commit: 9b8b9765edd92106e1f0b4f45827cdcbd7998fce https://github.com/geany/geany-plugins/commit/9b8b9765edd92106e1f0b4f45827cd...
Log Message: ----------- Merge pull request #162 from b4n/geanylatex/check-fixes
geanylatex: Fix some sanity checks
Modified Paths: -------------- geanylatex/src/latexkeybindings.c
Modified: geanylatex/src/latexkeybindings.c 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -23,21 +23,21 @@
void glatex_kblabel_insert(G_GNUC_UNUSED guint key_id) { - g_return_if_fail(document_get_current != NULL); + g_return_if_fail(document_get_current() != NULL); glatex_insert_label_activated(NULL, NULL); }
void glatex_kbref_insert(G_GNUC_UNUSED guint key_id) { - g_return_if_fail(document_get_current != NULL); + g_return_if_fail(document_get_current() != NULL); glatex_insert_ref_activated(NULL, NULL); }
void glatex_kbref_insert_environment(G_GNUC_UNUSED guint key_id) { - g_return_if_fail(document_get_current != NULL); + g_return_if_fail(document_get_current() != NULL); glatex_insert_environment_dialog(NULL, NULL); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).