rhythmbox r5872 - in trunk: . backends/gstreamer
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r5872 - in trunk: . backends/gstreamer
- Date: Sun, 31 Aug 2008 13:30:31 +0000 (UTC)
Author: jmatthew
Date: Sun Aug 31 13:30:31 2008
New Revision: 5872
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5872&view=rev
Log:
2008-08-31 Jonathan Matthew <jonathan d14n org>
* backends/gstreamer/rb-encoder-gst.c: (prompt_for_overwrite):
Don't unref the file info object until we're done with the strings
we pulled out of it.
Modified:
trunk/ChangeLog
trunk/backends/gstreamer/rb-encoder-gst.c
Modified: trunk/backends/gstreamer/rb-encoder-gst.c
==============================================================================
--- trunk/backends/gstreamer/rb-encoder-gst.c (original)
+++ trunk/backends/gstreamer/rb-encoder-gst.c Sun Aug 31 13:30:31 2008
@@ -565,7 +565,6 @@
NULL);
if (info != NULL) {
display_name = g_file_info_get_display_name (info);
- g_object_unref (info);
}
if (display_name == NULL) {
@@ -580,6 +579,9 @@
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
g_free (free_name);
+ if (info != NULL) {
+ g_object_unref (info);
+ }
return (response == GTK_RESPONSE_YES);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]