summaryrefslogtreecommitdiff
path: root/src/eom-application.c
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2012-09-23 17:50:02 +0200
committerraveit65 <[email protected]>2018-07-08 12:19:44 +0200
commit4817ee9e8d7f9d854870aa10085f3b6f1da3eadf (patch)
tree9ce442ddbe53e0543676323043401874c5b9e437 /src/eom-application.c
parent9e687fad2c7fc2a874c41090ad3a9ba8dc7b2c4e (diff)
downloadeom-4817ee9e8d7f9d854870aa10085f3b6f1da3eadf.tar.bz2
eom-4817ee9e8d7f9d854870aa10085f3b6f1da3eadf.tar.xz
Use GtkApplication to inhibit the screensaver during slideshows
Realized in a similar fashion as in Evince and Totem. https://bugzilla.gnome.org/show_bug.cgi?id=684581 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/e8b50ab
Diffstat (limited to 'src/eom-application.c')
-rw-r--r--src/eom-application.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/eom-application.c b/src/eom-application.c
index dbf1cb1..6135ae1 100644
--- a/src/eom-application.c
+++ b/src/eom-application.c
@@ -32,8 +32,6 @@
#include "eom-application.h"
#include "eom-util.h"
-#include "totem-scrsaver.h"
-
#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
@@ -485,34 +483,6 @@ eom_application_reset_toolbars_model (EomApplication *app)
EGG_TB_MODEL_NOT_REMOVABLE);
}
-/**
- * eom_application_screensaver_enable:
- * @application: an #EomApplication.
- *
- * Enables the screensaver. Usually necessary after a call to
- * eom_application_screensaver_disable().
- **/
-void
-eom_application_screensaver_enable (EomApplication *application)
-{
- if (application->scr_saver)
- totem_scrsaver_enable (application->scr_saver);
-}
-
-/**
- * eom_application_screensaver_disable:
- * @application: an #EomApplication.
- *
- * Disables the screensaver. Useful when the application is in fullscreen or
- * similar mode.
- **/
-void
-eom_application_screensaver_disable (EomApplication *application)
-{
- if (application->scr_saver)
- totem_scrsaver_disable (application->scr_saver);
-}
-
static void
eom_application_load_accelerators (void)
{