diff options
author | Christian Persch <[email protected]> | 2012-06-13 00:25:29 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 08:43:51 +0100 |
commit | 21073d44b5dd40facc67ac3108802559d7b13448 (patch) | |
tree | a6eb26d2300b6c2b94ee459c40ad9f736bebb0f6 /cut-n-paste/totem-screensaver/totem-scrsaver.h | |
parent | 674a6b31d3e4928e67bc574d2ed7758f19da52ac (diff) | |
download | atril-21073d44b5dd40facc67ac3108802559d7b13448.tar.bz2 atril-21073d44b5dd40facc67ac3108802559d7b13448.tar.xz |
shell: Use GtkApplication to inhibit the screensaver
Remove TotemScrsaver copy, and use GtkApplication inhibition instead.
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=612701f
Diffstat (limited to 'cut-n-paste/totem-screensaver/totem-scrsaver.h')
-rw-r--r-- | cut-n-paste/totem-screensaver/totem-scrsaver.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/cut-n-paste/totem-screensaver/totem-scrsaver.h b/cut-n-paste/totem-screensaver/totem-scrsaver.h deleted file mode 100644 index bb95174d..00000000 --- a/cut-n-paste/totem-screensaver/totem-scrsaver.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - Copyright (C) 2004, Bastien Nocera <[email protected]> - - The Mate Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - The Mate Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with the Mate Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301 USA. - - Author: Bastien Nocera <[email protected]> - */ - -#ifndef TOTEM_SCRSAVER_H -#define TOTEM_SCRSAVER_H - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define TOTEM_TYPE_SCRSAVER (totem_scrsaver_get_type ()) -#define TOTEM_SCRSAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_SCRSAVER, TotemScrsaver)) -#define TOTEM_SCRSAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_SCRSAVER, TotemScrsaverClass)) -#define TOTEM_IS_SCRSAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_SCRSAVER)) -#define TOTEM_IS_SCRSAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_SCRSAVER)) - -typedef struct TotemScrsaver TotemScrsaver; -typedef struct TotemScrsaverClass TotemScrsaverClass; -typedef struct TotemScrsaverPrivate TotemScrsaverPrivate; - -struct TotemScrsaver { - GObject parent; - TotemScrsaverPrivate *priv; -}; - -struct TotemScrsaverClass { - GObjectClass parent_class; -}; - -GType totem_scrsaver_get_type (void) G_GNUC_CONST; -TotemScrsaver *totem_scrsaver_new (void); -void totem_scrsaver_enable (TotemScrsaver *scr); -void totem_scrsaver_disable (TotemScrsaver *scr); -void totem_scrsaver_set_state (TotemScrsaver *scr, - gboolean enable); - -G_END_DECLS - -#endif /* !TOTEM_SCRSAVER_H */ |