gtksourceview r2244 - in branches/gtksourcecompletion: . gtksourceview



Author: icq
Date: Tue Apr  7 22:23:50 2009
New Revision: 2244
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2244&view=rev

Log:
2009-04-08  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * gtksourceview/gtksourceview.c:
        Fixed warning freeing the completion.



Modified:
   branches/gtksourcecompletion/ChangeLog
   branches/gtksourcecompletion/gtksourceview/gtksourceview.c

Modified: branches/gtksourcecompletion/gtksourceview/gtksourceview.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourceview.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourceview.c	Tue Apr  7 22:23:50 2009
@@ -787,7 +787,7 @@
 		g_hash_table_destroy (view->priv->mark_categories);
 	
 	if (view->priv->completion != NULL)
-		g_object_unref (view->priv->completion);
+		gtk_widget_destroy (GTK_WIDGET (view->priv->completion));
 
 	set_source_buffer (view, NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]