comparison gtk/gtksound.c @ 14254:360c016459d0

[gaim-migrate @ 16936] Cleaning up after myself: free data *after* using it. And if gstreamer fails, and the user switches to a different method, sound should stil work. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 21 Aug 2006 03:13:08 +0000
parents dc0afefc19d8
children c02ef8dd4416
comparison
equal deleted inserted replaced
14253:dc0afefc19d8 14254:360c016459d0
312 error ? error->message : ""); 312 error ? error->message : "");
313 if (error) { 313 if (error) {
314 g_error_free(error); 314 g_error_free(error);
315 error = NULL; 315 error = NULL;
316 } 316 }
317 return;
318 } 317 }
319 #endif /* USE_GSTREAMER */ 318 #endif /* USE_GSTREAMER */
320 319
321 gaim_signal_connect(blist_handle, "buddy-signed-on", 320 gaim_signal_connect(blist_handle, "buddy-signed-on",
322 gtk_sound_handle, GAIM_CALLBACK(buddy_state_cb), 321 gtk_sound_handle, GAIM_CALLBACK(buddy_state_cb),