gnome-bluetooth r519 - trunk/applet



Author: hadess
Date: Fri Mar 20 16:38:19 2009
New Revision: 519
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=519&view=rev

Log:
Avoid crashes when removing devices

The action group already holds the only ref to
the actions we're removing.



Modified:
   trunk/applet/main.c

Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c	(original)
+++ trunk/applet/main.c	Fri Mar 20 16:38:19 2009
@@ -354,7 +354,6 @@
 remove_action_item (GtkAction *action, gpointer data)
 {
 	gtk_action_group_remove_action (devices_action_group, action);
-	g_object_unref (action); //FIXME ?
 }
 
 static void



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