ekiga r6209 - in trunk: . src/gui
- From: mschneid svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6209 - in trunk: . src/gui
- Date: Fri, 18 Apr 2008 19:19:30 +0100 (BST)
Author: mschneid
Date: Fri Apr 18 18:19:29 2008
New Revision: 6209
URL: http://svn.gnome.org/viewvc/ekiga?rev=6209&view=rev
Log:
Fix #528404.
Modified:
trunk/ChangeLog
trunk/src/gui/preferences.cpp
Modified: trunk/src/gui/preferences.cpp
==============================================================================
--- trunk/src/gui/preferences.cpp (original)
+++ trunk/src/gui/preferences.cpp Fri Apr 18 18:19:29 2008
@@ -1252,13 +1252,13 @@
Ekiga::AudioOutputCore *audiooutput_core = dynamic_cast<Ekiga::AudioOutputCore *> (core->get ("audiooutput-core"));
gchar* file_name = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (data));
- std::string file_name_string = file_name;
- audiooutput_core->play_file(file_name_string);
-
- g_free (file_name);
+ if (file_name) {
+ std::string file_name_string = file_name;
+ audiooutput_core->play_file(file_name_string);
+ g_free (file_name);
+ }
}
-
static void
sound_event_toggled_cb (G_GNUC_UNUSED GtkCellRendererToggle *cell,
gchar *path_str,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]