[totem] main: Remove unused totem_options_get_context()



commit dd6049bbcaf2d5e09c178639c51d2572bd6f0909
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 20 18:30:20 2014 +0200

    main: Remove unused totem_options_get_context()

 src/totem-options.c |   22 ----------------------
 src/totem-options.h |    1 -
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/src/totem-options.c b/src/totem-options.c
index f8d1fe5..1c2df35 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -66,28 +66,6 @@ const GOptionEntry all_options[] = {
        {NULL} /* end the list */
 };
 
-GOptionContext *
-totem_options_get_context (void)
-{
-       GOptionContext *context;
-       GOptionGroup *baconoptiongroup;
-
-       context = g_option_context_new (N_("- Play movies and songs"));
-       baconoptiongroup = bacon_video_widget_get_option_group ();
-       if (baconoptiongroup == NULL) {
-               g_warning ("Clutter or GTK+ failed to initialise properly");
-               g_option_context_free (context);
-               return NULL;
-       }
-       g_option_context_add_main_entries (context, all_options, GETTEXT_PACKAGE);
-       g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
-       g_option_context_add_group (context, baconoptiongroup);
-
-       g_option_context_add_group (context, gtk_get_option_group (FALSE));
-
-       return context;
-}
-
 void
 totem_options_process_early (Totem *totem, const TotemCmdLineOptions* options)
 {
diff --git a/src/totem-options.h b/src/totem-options.h
index 4a7c8f9..bea9c34 100644
--- a/src/totem-options.h
+++ b/src/totem-options.h
@@ -54,7 +54,6 @@ extern const GOptionEntry all_options[];
 extern TotemCmdLineOptions optionstate;
 
 void totem_options_register_remote_commands (Totem *totem);
-GOptionContext *totem_options_get_context (void);
 void totem_options_process_early (Totem *totem,
                                  const TotemCmdLineOptions* options);
 void totem_options_process_late (Totem *totem, 


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