[geany/geany] 148283: Fix a missing cast (oops)

Colomban Wendling git-noreply at xxxxx
Sat Apr 12 14:17:52 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 12 Apr 2014 14:17:52 UTC
Commit:      148283356d0bde15925af4a613bb878829a576ea
             https://github.com/geany/geany/commit/148283356d0bde15925af4a613bb878829a576ea

Log Message:
-----------
Fix a missing cast (oops)


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

Modified: src/document.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -597,7 +597,7 @@ static gboolean remove_page(guint page_num)
 		/* we need to destroy the ScintillaWidget so our handlers on it are
 		 * disconnected before we free any data they may use (like the editor).
 		 * when not quitting, this is handled by removing the notebook page. */
-		gtk_widget_destroy(doc->editor->sci);
+		gtk_widget_destroy(GTK_WIDGET(doc->editor->sci));
 	}
 	else
 	{



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list