Author: carlosg
Date: Fri Feb  8 15:25:28 2008
New Revision: 2729
URL: http://svn.gnome.org/viewvc/gossip?rev=2729&view=rev

Log:
2008-02-08  Carlos Garnacho  <[EMAIL PROTECTED]>

        * src/gossip-app.c (app_reconnect_remove)
        (app_session_protocol_disconnected_cb): store/retrieve correctly the
        timeout IDs in the hashtable. So it doesn't leave timeout functions
        running when the wrong source ID is removed.


Modified:
   trunk/ChangeLog
   trunk/src/gossip-app.c

Modified: trunk/src/gossip-app.c
==============================================================================
--- trunk/src/gossip-app.c      (original)
+++ trunk/src/gossip-app.c      Fri Feb  8 15:25:28 2008
@@ -1656,10 +1656,10 @@
 static void
 app_reconnect_remove (gpointer data)
 {
-       guint *id;
+       guint id;
 
-       id = (guint*) data;
-       g_source_remove (*id);
+       id = GPOINTER_TO_UINT (data);
+       g_source_remove (id);
 }
 
 static gboolean
@@ -1730,7 +1730,7 @@
                                    account);
                g_hash_table_insert (priv->reconnects,
                                     g_object_ref (account),
-                                    &id);
+                                    GUINT_TO_POINTER (id));
        }
 }
 
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to