[Xfce4-commits] [apps/ristretto] 01/01: Prevent constant overflow

noreply at xfce.org noreply at xfce.org
Thu Oct 13 17:43:26 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/ristretto.

commit 7d7ceee108d5e825a1d5e5d065a2a77a4a6b96f7
Author: Igor <f2404 at yandex.ru>
Date:   Thu Oct 13 18:43:19 2016 +0300

    Prevent constant overflow
---
 src/gnome_wallpaper_manager.c | 7 -------
 src/xfce_wallpaper_manager.c  | 8 ++++----
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/gnome_wallpaper_manager.c b/src/gnome_wallpaper_manager.c
index 69a7456..e571b8b 100644
--- a/src/gnome_wallpaper_manager.c
+++ b/src/gnome_wallpaper_manager.c
@@ -51,13 +51,6 @@ enum ColorStyle
 };
 	
 
-typedef struct {
-    gint16 r;
-    gint16 g;
-    gint16 b;
-    gint16 a;
-} RsttoColor;
-
 static void
 rstto_gnome_wallpaper_manager_init (GObject *);
 static void
diff --git a/src/xfce_wallpaper_manager.c b/src/xfce_wallpaper_manager.c
index 2a81d16..ac6241e 100644
--- a/src/xfce_wallpaper_manager.c
+++ b/src/xfce_wallpaper_manager.c
@@ -55,10 +55,10 @@ enum MonitorStyle
 #define SINGLE_WORKSPACE_MODE "/backdrop/single-workspace-mode"
 
 typedef struct {
-    gint16 r;
-    gint16 g;
-    gint16 b;
-    gint16 a;
+    guint16 r;
+    guint16 g;
+    guint16 b;
+    guint16 a;
 } RsttoColor;
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list