brasero r2168 - in branches/gnome-2-26: . src



Author: lmedinas
Date: Wed Mar 25 08:43:24 2009
New Revision: 2168
URL: http://svn.gnome.org/viewvc/brasero?rev=2168&view=rev

Log:
2009-03-25  Luis Medinas  <lmedinas gnome org>

        * src/brasero-io.c (brasero_io_start_playlist_cb),
        (brasero_io_parse_playlist_get_uris):

        Remove unneeded signal connection and rename callback.
        Fixes crash on Rhythmbox playlist import see bgo #575904.


Modified:
   branches/gnome-2-26/ChangeLog
   branches/gnome-2-26/src/brasero-io.c

Modified: branches/gnome-2-26/src/brasero-io.c
==============================================================================
--- branches/gnome-2-26/src/brasero-io.c	(original)
+++ branches/gnome-2-26/src/brasero-io.c	Wed Mar 25 08:43:24 2009
@@ -1268,7 +1268,7 @@
 }
 
 static void
-brasero_io_start_end_playlist_cb (TotemPlParser *parser,
+brasero_io_start_playlist_cb (TotemPlParser *parser,
 				  const gchar *uri,
 				  GHashTable *metadata,
 				  BraseroIOPlaylist *data)
@@ -1294,11 +1294,7 @@
 	parser = totem_pl_parser_new ();
 	g_signal_connect (parser,
 			  "playlist-started",
-			  G_CALLBACK (brasero_io_start_end_playlist_cb),
-			  playlist);
-	g_signal_connect (parser,
-			  "playlist-ended",
-			  G_CALLBACK (brasero_io_start_end_playlist_cb),
+			  G_CALLBACK (brasero_io_start_playlist_cb),
 			  playlist);
 	g_signal_connect (parser,
 			  "entry-parsed",



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