[totem] backend: Remove bacon_video_widget_init_backend()



commit aa649822bb87cae152df5f0b8a4aaee480855aeb
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 8 17:06:04 2011 +0100

    backend: Remove bacon_video_widget_init_backend()
    
    It's now unused.

 src/backend/bacon-video-widget-gst-0.10.c |   21 ---------------------
 src/backend/bacon-video-widget.h          |    2 --
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index a98a975..43b6c98 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -5803,9 +5803,6 @@ bacon_video_widget_get_current_frame (BaconVideoWidget * bvw)
 /*                                             */
 /* =========================================== */
 
-/* applications must use exactly one of bacon_video_widget_get_option_group()
- * OR bacon_video_widget_init_backend(), but not both */
-
 /**
  * bacon_video_widget_get_option_group:
  *
@@ -5824,24 +5821,6 @@ bacon_video_widget_get_option_group (void)
   return gst_init_get_option_group ();
 }
 
-/**
- * bacon_video_widget_init_backend:
- * @argc: pointer to application's argc
- * @argv: pointer to application's argv
- *
- * Initialises #BaconVideoWidget's GStreamer backend. If this fails
- * for the GStreamer backend, your application will be terminated.
- *
- * Applications must call either this or bacon_video_widget_get_option_group() exactly
- * once; but not both.
- **/
-void
-bacon_video_widget_init_backend (int *argc, char ***argv)
-{
-  gtk_clutter_init (argc, argv);
-  gst_init (argc, argv);
-}
-
 GQuark
 bacon_video_widget_error_quark (void)
 {
diff --git a/src/backend/bacon-video-widget.h b/src/backend/bacon-video-widget.h
index 7806351..b7090f6 100644
--- a/src/backend/bacon-video-widget.h
+++ b/src/backend/bacon-video-widget.h
@@ -139,8 +139,6 @@ typedef enum {
 GQuark bacon_video_widget_error_quark		 (void) G_GNUC_CONST;
 GType bacon_video_widget_get_type                (void);
 GOptionGroup* bacon_video_widget_get_option_group (void);
-/* This can be used if the app does not use popt */
-void bacon_video_widget_init_backend		 (int *argc, char ***argv);
 
 GtkWidget *bacon_video_widget_new		 (GError **error);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]