[Xfce4-commits] [apps/xfce4-screensaver] 396/425: Disable deprecations for g_type_class_add_private where difficult to resolve

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:54:03 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 224f7180362c08c6358be74432fb5c2de4d467c0
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Oct 11 20:41:11 2018 -0400

    Disable deprecations for g_type_class_add_private where difficult to resolve
---
 src/copy-theme-dialog.c | 2 ++
 src/xfce-rr.c           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/copy-theme-dialog.c b/src/copy-theme-dialog.c
index de63354..6868169 100644
--- a/src/copy-theme-dialog.c
+++ b/src/copy-theme-dialog.c
@@ -120,7 +120,9 @@ copy_theme_dialog_class_init (CopyThemeDialogClass *klass)
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
+	G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* GObject 2.58 */
 	g_type_class_add_private (klass, sizeof (CopyThemeDialogPrivate));
+	G_GNUC_END_IGNORE_DEPRECATIONS
 
 	klass->cancelled = copy_theme_dialog_cancel;
 	object_class->finalize = copy_theme_dialog_finalize;
diff --git a/src/xfce-rr.c b/src/xfce-rr.c
index 9f97e56..2236f84 100644
--- a/src/xfce-rr.c
+++ b/src/xfce-rr.c
@@ -781,7 +781,9 @@ void
 xfce_rr_screen_class_init (XfceRRScreenClass *klass)
 {
     GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+    G_GNUC_BEGIN_IGNORE_DEPRECATIONS /* GObject 2.58 */
     g_type_class_add_private (klass, sizeof (XfceRRScreenPrivate));
+    G_GNUC_END_IGNORE_DEPRECATIONS
 
     gobject_class->set_property = xfce_rr_screen_set_property;
     gobject_class->get_property = xfce_rr_screen_get_property;

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


More information about the Xfce4-commits mailing list