[brasero] Use the proper return value
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Use the proper return value
- Date: Sun, 1 Nov 2009 21:01:32 +0000 (UTC)
commit 65341d929269458bd000a7ab805c04d860407977
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Nov 1 20:54:46 2009 +0100
Use the proper return value
libbrasero-utils/brasero-pk.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-utils/brasero-pk.c b/libbrasero-utils/brasero-pk.c
index 7536e52..7337cbb 100644
--- a/libbrasero-utils/brasero-pk.c
+++ b/libbrasero-utils/brasero-pk.c
@@ -191,6 +191,8 @@ brasero_pk_install_gstreamer_plugin (BraseroPK *package,
gboolean res = FALSE;
gchar *detail;
+ /* The problem with this is that we can't
+ * cancel a search */
gst_plugins = g_ptr_array_new ();
detail = gst_missing_element_installer_detail_new (element_name);
g_ptr_array_add (gst_plugins, detail);
@@ -203,7 +205,7 @@ brasero_pk_install_gstreamer_plugin (BraseroPK *package,
brasero_pk_install_gst_plugin_result,
package);
- if (status == GST_INSTALL_PLUGINS_SUCCESS)
+ if (status == GST_INSTALL_PLUGINS_STARTED_OK)
res = brasero_pk_wait_for_call_end (package, cancel);
gst_install_plugins_context_free (context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]