[Xfce4-commits] <xfce4-session:master> Fix typos in the panel plugin.

Nick Schermer noreply at xfce.org
Thu Jan 28 19:52:09 CET 2010


Updating branch refs/heads/master
         to 9693d6f71bf1821f1233b01fada35801f677ebf7 (commit)
       from 0f03c6c55e258453cffd0170aab6ccac48fd4bb9 (commit)

commit 9693d6f71bf1821f1233b01fada35801f677ebf7
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Fri Jan 22 23:54:12 2010 +0100

    Fix typos in the panel plugin.

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

diff --git a/panel-plugin/xfsm-logout-plugin.c b/panel-plugin/xfsm-logout-plugin.c
index d839acb..99bb015 100644
--- a/panel-plugin/xfsm-logout-plugin.c
+++ b/panel-plugin/xfsm-logout-plugin.c
@@ -144,7 +144,7 @@ xfsm_logout_plugin_lock_screen(GtkAction *action,
 {
     GError *error = NULL;
 
-    if (!g_spawn_command_line_async("xflock4", error)) {
+    if (!g_spawn_command_line_async("xflock4", &error)) {
         xfce_dialog_show_error (NULL,
                                 error,
                                 _("Xfclock4 could not be launched"));
@@ -309,7 +309,8 @@ xfsm_logout_plugin_show_confirmation_dialog(XfsmLogoutPlugin *logout_plugin,
         if(!xfsm_logout_plugin_do_dbus_call(logout_plugin, type, &error)) {
             xfce_dialog_show_warning (NULL,
                                       error->message,
-                                      _(dialog_strings[type].error_text));
+                                      "%s",
+                                      dialog_strings[type].error_text);
             g_error_free(error);
         }
     }



More information about the Xfce4-commits mailing list