[gedit] message-bus: remove the identifier



commit da5c820e8c80926d4e9f67afebccb52736cff09e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Aug 21 18:22:57 2011 +0200

    message-bus: remove the identifier

 gedit/gedit-message-bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-message-bus.c b/gedit/gedit-message-bus.c
index e8664d5..f43bae8 100644
--- a/gedit/gedit-message-bus.c
+++ b/gedit/gedit-message-bus.c
@@ -432,7 +432,7 @@ remove_listener (GeditMessageBus *bus,
 	if (!message->listeners)
 	{
 		/* remove message because it does not have any listeners */
-		g_hash_table_remove (bus->priv->messages, message);
+		g_hash_table_remove (bus->priv->messages, message->identifier);
 	}
 }
 



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