[brasero] Reorganize the code
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Reorganize the code
- Date: Sun, 1 Nov 2009 21:01:38 +0000 (UTC)
commit 7ab9e3a53547c62dc16346c64ab031483a715b19
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Nov 1 20:55:51 2009 +0100
Reorganize the code
libbrasero-utils/brasero-pk.c | 50 ++++++++++++++++++++--------------------
1 files changed, 25 insertions(+), 25 deletions(-)
---
diff --git a/libbrasero-utils/brasero-pk.c b/libbrasero-utils/brasero-pk.c
index 7337cbb..905cece 100644
--- a/libbrasero-utils/brasero-pk.c
+++ b/libbrasero-utils/brasero-pk.c
@@ -84,31 +84,6 @@ brasero_pk_install_missing_files_result (DBusGProxy *proxy,
}
static void
-brasero_pk_install_gst_plugin_result (GstInstallPluginsReturn res,
- gpointer user_data)
-{
- BraseroPKPrivate *priv = BRASERO_PK_PRIVATE (user_data);
-
- switch (res) {
- case GST_INSTALL_PLUGINS_SUCCESS:
- priv->res = TRUE;
- break;
-
- case GST_INSTALL_PLUGINS_PARTIAL_SUCCESS:
- case GST_INSTALL_PLUGINS_USER_ABORT:
-
- case GST_INSTALL_PLUGINS_NOT_FOUND:
- case GST_INSTALL_PLUGINS_ERROR:
- case GST_INSTALL_PLUGINS_CRASHED:
- default:
- priv->res = FALSE;
- break;
- }
-
- g_main_loop_quit (priv->loop);
-}
-
-static void
brasero_pk_cancelled (GCancellable *cancel,
BraseroPK *package)
{
@@ -179,6 +154,31 @@ brasero_pk_connect (BraseroPK *package)
return TRUE;
}
+static void
+brasero_pk_install_gst_plugin_result (GstInstallPluginsReturn res,
+ gpointer user_data)
+{
+ BraseroPKPrivate *priv = BRASERO_PK_PRIVATE (user_data);
+
+ switch (res) {
+ case GST_INSTALL_PLUGINS_SUCCESS:
+ priv->res = TRUE;
+ break;
+
+ case GST_INSTALL_PLUGINS_PARTIAL_SUCCESS:
+ case GST_INSTALL_PLUGINS_USER_ABORT:
+
+ case GST_INSTALL_PLUGINS_NOT_FOUND:
+ case GST_INSTALL_PLUGINS_ERROR:
+ case GST_INSTALL_PLUGINS_CRASHED:
+ default:
+ priv->res = FALSE;
+ break;
+ }
+
+ g_main_loop_quit (priv->loop);
+}
+
gboolean
brasero_pk_install_gstreamer_plugin (BraseroPK *package,
const gchar *element_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]