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:
parent
ff43ad1fa7
commit
3c3edd3e03
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user