summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-20 18:51:14 +0200
committerBastien Nocera <hadess@hadess.net>2014-10-20 18:55:34 +0200
commite2139482fc0edc13f6be2fb6a83eb9b7e2f885c5 (patch)
tree661939b27d50da9d11eabe0e004e7c45d3f37e45
parent85c1c14715a64c281cda3a50a41e2845ad637a53 (diff)
downloadtotem-e2139482fc0edc13f6be2fb6a83eb9b7e2f885c5.tar.gz
main: Remove totem_options_process_early()
-rw-r--r--src/totem-options.c10
-rw-r--r--src/totem-options.h2
2 files changed, 0 insertions, 12 deletions
diff --git a/src/totem-options.c b/src/totem-options.c
index 1c2df3552..f48bf7429 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 bea9c3457..5f59e81fd 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,