Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geanylatex: Fix some sanity checks #162

Merged
merged 1 commit into from
Oct 15, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
geanylatex: Fix some sanity checks
codebrainz authored and b4n committed Oct 14, 2014

Verified

This commit was signed with the committer’s verified signature.
UlisesGascon Ulises Gascón
commit 95c7e6feab7747697c5bb4afb73af3a0c4dbec4f
6 changes: 3 additions & 3 deletions geanylatex/src/latexkeybindings.c
Original file line number Diff line number Diff line change
@@ -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);
}