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

Jérôme Guelfucci noreply at xfce.org
Fri Jan 22 23:58:02 CET 2010


Updating branch refs/heads/jeromeg/libxfce4ui
         to ab47782eadff38607ca0f9af3ab6e4dba011f3ef (commit)
       from de603b20363d1431d3b9d2e0b3ae3ae707615bcd (commit)

commit ab47782eadff38607ca0f9af3ab6e4dba011f3ef
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