[Xfce4-commits] [apps/xfce4-screensaver] 219/425: GTK3: don't use deprecated gtk_button_box_new

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:51:06 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 b57cfccec02400b470670c988adda6e99fe7a18f
Author: Wolfgang Ulbrich <chat-to-me at raveit.de>
Date:   Thu Dec 10 20:29:47 2015 +0100

    GTK3: don't use deprecated gtk_button_box_new
---
 src/gs-lock-plug.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index e31163c..3387f29 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -1993,7 +1993,11 @@ create_page_one (GSLockPlug *plug)
 	gtk_box_pack_start (GTK_BOX (vbox), plug->priv->auth_message_label,
 	                    FALSE, FALSE, 0);
 	/* Buttons */
+#if GTK_CHECK_VERSION(3, 0, 0)
+	plug->priv->auth_action_area = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
+#else
 	plug->priv->auth_action_area = gtk_hbutton_box_new ();
+#endif
 
 	gtk_button_box_set_layout (GTK_BUTTON_BOX (plug->priv->auth_action_area),
 	                           GTK_BUTTONBOX_END);

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


More information about the Xfce4-commits mailing list