[Xfce4-commits] [apps/xfce4-screensaver] 346/425: Cleanup deprecated MATE code
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:53:13 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit 2c742beac24b83dff1faf95ec34bc7ca88b5e62c
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Tue Oct 2 07:16:16 2018 -0400
Cleanup deprecated MATE code
---
src/xfce-rr.c | 16 ----------------
src/xfce-rr.h | 11 -----------
2 files changed, 27 deletions(-)
diff --git a/src/xfce-rr.c b/src/xfce-rr.c
index 20606f9..9b9e2d1 100644
--- a/src/xfce-rr.c
+++ b/src/xfce-rr.c
@@ -37,7 +37,6 @@
#include <gdk/gdkx.h>
#include <X11/Xatom.h>
-#undef MATE_DISABLE_DEPRECATED
#include "xfce-rr.h"
#include "xfce-rr-private.h"
@@ -1497,21 +1496,6 @@ xrotation_from_rotation (XfceRRRotation r)
return result;
}
-#ifndef MATE_DISABLE_DEPRECATED_SOURCE
-gboolean
-xfce_rr_crtc_set_config (XfceRRCrtc *crtc,
- int x,
- int y,
- XfceRRMode *mode,
- XfceRRRotation rotation,
- XfceRROutput **outputs,
- int n_outputs,
- GError **error)
-{
- return xfce_rr_crtc_set_config_with_time (crtc, GDK_CURRENT_TIME, x, y, mode, rotation, outputs, n_outputs, error);
-}
-#endif
-
gboolean
xfce_rr_crtc_set_config_with_time (XfceRRCrtc *crtc,
guint32 timestamp,
diff --git a/src/xfce-rr.h b/src/xfce-rr.h
index 55082ee..f59ff0a 100644
--- a/src/xfce-rr.h
+++ b/src/xfce-rr.h
@@ -133,17 +133,6 @@ int xfce_rr_mode_get_freq (XfceRRMode *mode);
/* XfceRRCrtc */
guint32 xfce_rr_crtc_get_id (XfceRRCrtc *crtc);
-#ifndef MATE_DISABLE_DEPRECATED
-gboolean xfce_rr_crtc_set_config (XfceRRCrtc *crtc,
- int x,
- int y,
- XfceRRMode *mode,
- XfceRRRotation rotation,
- XfceRROutput **outputs,
- int n_outputs,
- GError **error);
-#endif
-
gboolean xfce_rr_crtc_set_config_with_time (XfceRRCrtc *crtc,
guint32 timestamp,
int x,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list