[geany/geany-plugins] 9b8b97: Merge pull request #162 from b4n/geanylatex/check-fixes

Frank Lanitz git-noreply at xxxxx
Wed Oct 15 05:17:04 UTC 2014


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Wed, 15 Oct 2014 05:17:04 UTC
Commit:      9b8b9765edd92106e1f0b4f45827cdcbd7998fce
             https://github.com/geany/geany-plugins/commit/9b8b9765edd92106e1f0b4f45827cdcbd7998fce

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).


More information about the Plugins-Commits mailing list