[geany/geany] 9df204: Fix compiler warning
Jiří Techet
git-noreply at xxxxx
Wed Mar 4 11:47:20 UTC 2015
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Wed, 04 Mar 2015 11:47:20 UTC
Commit: 9df204ab78551fd8988b660325d78fd3330a3bb0
https://github.com/geany/geany/commit/9df204ab78551fd8988b660325d78fd3330a3bb0
Log Message:
-----------
Fix compiler warning
Modified Paths:
--------------
src/document.c
Modified: src/document.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -278,7 +278,7 @@ static GtkWidget *document_get_notebook_child(GeanyDocument *doc)
GtkWidget *parent;
GtkWidget *child;
- g_return_val_if_fail(doc != NULL, -1);
+ g_return_val_if_fail(doc != NULL, NULL);
child = GTK_WIDGET(doc->editor->sci);
parent = gtk_widget_get_parent(child);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list