Branch: refs/heads/master Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Wed, 04 Mar 2015 12:40:15 UTC Commit: 185d4fff933ec5cc7837ef69ab3eae8d0cee3ea3 https://github.com/geany/geany/commit/185d4fff933ec5cc7837ef69ab3eae8d0cee3e...
Log Message: ----------- Merge pull request #430 from techee/fix_warning
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).