[Xfce4-commits] <xfce4-fsguard-plugin:master> fix warnings, no need for NULL here as theres nothing to format in the format string

Landry Breuil noreply at xfce.org
Fri May 4 17:16:05 CEST 2012


Updating branch refs/heads/master
         to d77215f604efbfc99578cf32a46daff143705402 (commit)
       from 6507ca431dc08ab28dfdfe6adf8f5d74e431d6bf (commit)

commit d77215f604efbfc99578cf32a46daff143705402
Author: Landry Breuil <landry at xfce.org>
Date:   Fri May 4 17:14:27 2012 +0200

    fix warnings, no need for NULL here as theres nothing to format in the format string

 panel-plugin/fsguard.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index aa7cf66..715b1c9 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -237,10 +237,9 @@ fsguard_open_mnt (GtkWidget *widget, FsGuard *fsguard)
 
     GtkWidget *dialog;
     dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_NO_SEPARATOR, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-                                     "Free Space Checker", NULL);
+                                     "Free Space Checker");
     gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
-                                              _("Unable to find an appropriate application to open the mount point"),
-                                              NULL);
+                                              _("Unable to find an appropriate application to open the mount point"));
 }
 
 static gboolean


More information about the Xfce4-commits mailing list