[gnome-settings-daemon] media-keys: Move animation constants to private header



commit f4707af1baec86a56a67f4344e80a88351539ee8
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 18 16:31:16 2012 +0100

    media-keys: Move animation constants to private header

 plugins/media-keys/gsd-osd-window-private.h |    3 +++
 plugins/media-keys/gsd-osd-window.c         |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/media-keys/gsd-osd-window-private.h b/plugins/media-keys/gsd-osd-window-private.h
index de3b2af..b922ed4 100644
--- a/plugins/media-keys/gsd-osd-window-private.h
+++ b/plugins/media-keys/gsd-osd-window-private.h
@@ -46,6 +46,9 @@
 
 G_BEGIN_DECLS
 
+#define DIALOG_FADE_TIMEOUT 1500  /* timeout before fade starts */
+#define FADE_FRAME_TIMEOUT 10     /* timeout in ms between each frame of the fade */
+
 typedef struct {
         int                 size;
         GtkStyleContext    *style;
diff --git a/plugins/media-keys/gsd-osd-window.c b/plugins/media-keys/gsd-osd-window.c
index f3b3880..1849948 100644
--- a/plugins/media-keys/gsd-osd-window.c
+++ b/plugins/media-keys/gsd-osd-window.c
@@ -40,8 +40,6 @@
 #include "gsd-osd-window.h"
 #include "gsd-osd-window-private.h"
 
-#define DIALOG_FADE_TIMEOUT 1500  /* timeout before fade starts */
-#define FADE_FRAME_TIMEOUT 10           /* timeout in ms between each frame of the fade */
 #define ICON_SCALE 0.50           /* size of the icon compared to the whole OSD */
 #define BG_ALPHA 0.75             /* background transparency */
 #define FG_ALPHA 1.0              /* Alpha value to be used for foreground objects drawn in an OSD window */



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