Fix compiler warning because of missing cast, oops.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2784 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-07-15 18:51:19 +00:00
parent ff43ad1fa7
commit 3c3edd3e03

View File

@ -428,7 +428,7 @@ static GeanyDocument *document_create(const gchar *utf8_filename)
ui_document_buttons_update();
gtk_widget_grab_focus(this->editor->sci);
gtk_widget_grab_focus(GTK_WIDGET(this->editor->sci));
this->is_valid = TRUE; /* do this last to prevent UI updating with NULL items. */
return this;