[Xfce4-commits] [apps/xfce4-screensaver] 370/425: Drop deprecated GtkStock and unused var

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:53:37 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 32be5f3d168deb68e0a7024b8a3fa65d97a699a3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Oct 7 20:09:53 2018 +0200

    Drop deprecated GtkStock and unused var
---
 src/gs-lock-plug.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index b7afb50..66e7236 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -284,7 +284,6 @@ date_time_update (GSLockPlug *plug)
 {
 	GDateTime *datetime;
 	gchar *datetime_format;
-	gchar *date;
 	gchar *str;
 
 	datetime = g_date_time_new_now_local ();
@@ -1582,7 +1581,7 @@ create_page_one_buttons (GSLockPlug *plug)
 
 	plug->priv->auth_cancel_button =  gs_lock_plug_add_button (GS_LOCK_PLUG (plug),
 	                                  plug->priv->auth_action_area,
-	                                  GTK_STOCK_CANCEL);
+	                                  _("_Cancel"));
 	gtk_widget_set_focus_on_click (GTK_WIDGET (plug->priv->auth_cancel_button), FALSE);
 
 	plug->priv->auth_unlock_button =  gs_lock_plug_add_button (GS_LOCK_PLUG (plug),
@@ -1861,7 +1860,7 @@ get_dialog_theme_name (GSLockPlug *plug)
 }
 
 static void
-get_draw_dimensions(GSLockPlug *plug, 
+get_draw_dimensions(GSLockPlug *plug,
 				    XfceBG *bg,
 					gint *screen_width,
 					gint *screen_height,

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


More information about the Xfce4-commits mailing list