[Xfce4-commits] [panel-plugins/xfce4-timer-plugin] 08/22: Deleted comment gcc
noreply at xfce.org
noreply at xfce.org
Sat Dec 30 06:16:29 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d 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 panel-plugins/xfce4-timer-plugin.
commit b4f98b8376977f4e75ada1b73853b0c1974e6eeb
Author: Daniel Muñiz Fontoira <dani at damufo.com>
Date: Thu Aug 3 12:11:41 2017 +0200
Deleted comment gcc
---
panel-plugin/xfcetimer.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/panel-plugin/xfcetimer.c b/panel-plugin/xfcetimer.c
index 2f3968a..7f9e22d 100644
--- a/panel-plugin/xfcetimer.c
+++ b/panel-plugin/xfcetimer.c
@@ -181,10 +181,6 @@ static gboolean update_function (gpointer data){
dialog_message = g_strdup_printf(_("Beeep! :) \nTime is up for the alarm %s."), pd->active_timer_name);
dialog_title = g_strdup_printf("Xfce4 Timer Plugin: %s", pd->active_timer_name);
- /*
- * dialog_message when gcc warning: format not a string literal and no format arguments [-Wformat-security]
- * solution, to add "%s" to the arguments of the gtk_message_dialog_new() function
- */
dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", dialog_message);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list