gnome-media r4101 - in trunk: . profiles



Author: malureau
Date: Sun Dec 14 22:15:32 2008
New Revision: 4101
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4101&view=rev

Log:
2008-12-15  Marc-Andrà Lureau  <marcandre lureau gmail com>

* profiles/audio-profile.c (gm_audio_profile_forget): Remove
audio profile from hashtable with id instead of name, fix can't
delete profile with '#' in its name. Closes: #553383

Modified:
   trunk/ChangeLog
   trunk/profiles/audio-profile.c

Modified: trunk/profiles/audio-profile.c
==============================================================================
--- trunk/profiles/audio-profile.c	(original)
+++ trunk/profiles/audio-profile.c	Sun Dec 14 22:15:32 2008
@@ -914,7 +914,7 @@
                   g_error_free (err);
     }
 
-    g_hash_table_remove (profiles, self->priv->name);
+    g_hash_table_remove (profiles, self->priv->id);
     self->priv->forgotten = TRUE;
 
     g_signal_emit (G_OBJECT (self), signals[FORGOTTEN], 0);



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