[Xfce4-commits] [xfce/xfce4-session] 01/01: Do not show translation info on --help output

noreply at xfce.org noreply at xfce.org
Sun Aug 25 20:10:51 CEST 2019


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 xfce/xfce4-session.

commit 18a2c136f4de822e1758e62e1ba71296e770a246
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Aug 25 15:10:40 2019 -0300

    Do not show translation info on --help output
---
 settings/main.c             | 2 +-
 xfce4-session-logout/main.c | 2 +-
 xfce4-session/main.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/settings/main.c b/settings/main.c
index 7a0459a..4dd6290 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -103,7 +103,7 @@ main(int argc,
 
     xfce_textdomain(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
 
-    if(!gtk_init_with_args (&argc, &argv, "", option_entries,
+    if(!gtk_init_with_args (&argc, &argv, NULL, option_entries,
                             GETTEXT_PACKAGE, &error))
     {
         if(G_LIKELY(error)) {
diff --git a/xfce4-session-logout/main.c b/xfce4-session-logout/main.c
index d62f3fc..193263d 100644
--- a/xfce4-session-logout/main.c
+++ b/xfce4-session-logout/main.c
@@ -137,7 +137,7 @@ main (int argc, char **argv)
 
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
 
-  have_display = gtk_init_with_args (&argc, &argv, "", option_entries, PACKAGE, NULL);
+  have_display = gtk_init_with_args (&argc, &argv, NULL, option_entries, PACKAGE, NULL);
 
   if (opt_version)
     {
diff --git a/xfce4-session/main.c b/xfce4-session/main.c
index 75e3a02..e3d0a77 100644
--- a/xfce4-session/main.c
+++ b/xfce4-session/main.c
@@ -327,7 +327,7 @@ main (int argc, char **argv)
   /* install required signal handlers */
   signal (SIGPIPE, SIG_IGN);
 
-  if (!gtk_init_with_args (&argc, &argv, "", option_entries, GETTEXT_PACKAGE, &error))
+  if (!gtk_init_with_args (&argc, &argv, NULL, option_entries, GETTEXT_PACKAGE, &error))
     {
       g_print ("%s: %s.\n", G_LOG_DOMAIN, error->message);
       g_print (_("Type '%s --help' for usage."), G_LOG_DOMAIN);

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


More information about the Xfce4-commits mailing list