SF.net SVN: geany: [2784] trunk/src/document.c

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Jul 15 18:51:27 UTC 2008


Revision: 2784
          http://geany.svn.sourceforge.net/geany/?rev=2784&view=rev
Author:   eht16
Date:     2008-07-15 11:51:19 -0700 (Tue, 15 Jul 2008)

Log Message:
-----------
Fix compiler warning because of missing cast, oops.

Modified Paths:
--------------
    trunk/src/document.c

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2008-07-15 18:46:17 UTC (rev 2783)
+++ trunk/src/document.c	2008-07-15 18:51:19 UTC (rev 2784)
@@ -428,7 +428,7 @@
 
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list