[totem] main: Remove totem_options_process_early()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Remove totem_options_process_early()
- Date: Mon, 20 Oct 2014 17:12:58 +0000 (UTC)
commit e2139482fc0edc13f6be2fb6a83eb9b7e2f885c5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Oct 20 18:51:14 2014 +0200
main: Remove totem_options_process_early()
src/totem-options.c | 10 ----------
src/totem-options.h | 2 --
2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/totem-options.c b/src/totem-options.c
index 1c2df35..f48bf74 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -66,16 +66,6 @@ const GOptionEntry all_options[] = {
{NULL} /* end the list */
};
-void
-totem_options_process_early (Totem *totem, const TotemCmdLineOptions* options)
-{
- if (options->quit) {
- /* If --quit is one of the commands, just quit */
- gdk_notify_startup_complete ();
- exit (0);
- }
-}
-
static void
totem_send_remote_command (Totem *totem,
TotemRemoteCommand action,
diff --git a/src/totem-options.h b/src/totem-options.h
index bea9c34..5f59e81 100644
--- a/src/totem-options.h
+++ b/src/totem-options.h
@@ -54,8 +54,6 @@ extern const GOptionEntry all_options[];
extern TotemCmdLineOptions optionstate;
void totem_options_register_remote_commands (Totem *totem);
-void totem_options_process_early (Totem *totem,
- const TotemCmdLineOptions* options);
void totem_options_process_late (Totem *totem,
const TotemCmdLineOptions* options);
void totem_options_process_for_server (Totem *totem,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]