Fix compiler warning

This commit is contained in:
Jiří Techet 2015-03-04 12:47:20 +01:00
parent 87af9597fc
commit 9df204ab78

View File

@ -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);