Hello community, here is the log from the commit of package gnome-font-viewer for openSUSE:Factory checked in at 2016-05-20 11:53:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-font-viewer (Old) and /work/SRC/openSUSE:Factory/.gnome-font-viewer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-font-viewer" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-font-viewer/gnome-font-viewer.changes 2016-04-05 10:40:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-font-viewer.new/gnome-font-viewer.changes 2016-05-20 11:53:55.000000000 +0200 @@ -1,0 +2,8 @@ +Thu May 12 13:30:00 UTC 2016 - [email protected] + +- Update to version 3.20.2: + + Use GApplication's internal handling of commandline arguments, + for correcting DBus activation (bgo#765518). + + Updated translations. + +------------------------------------------------------------------- Old: ---- gnome-font-viewer-3.20.0.tar.xz New: ---- gnome-font-viewer-3.20.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-font-viewer.spec ++++++ --- /var/tmp/diff_new_pack.XcWZD8/_old 2016-05-20 11:53:56.000000000 +0200 +++ /var/tmp/diff_new_pack.XcWZD8/_new 2016-05-20 11:53:56.000000000 +0200 @@ -17,7 +17,7 @@ Name: gnome-font-viewer -Version: 3.20.0 +Version: 3.20.2 Release: 0 Summary: A font viewer utility for GNOME License: GPL-2.0+ ++++++ gnome-font-viewer-3.20.0.tar.xz -> gnome-font-viewer-3.20.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/NEWS new/gnome-font-viewer-3.20.2/NEWS --- old/gnome-font-viewer-3.20.0/NEWS 2016-03-29 17:16:18.000000000 +0200 +++ new/gnome-font-viewer-3.20.2/NEWS 2016-05-11 23:33:21.000000000 +0200 @@ -1,3 +1,12 @@ +GNOME Font Viewer - 3.20.2 +------------------------------------------------------------------------------- + +• Use GApplication's internal handling of commandline arguments, for correcting + DBus activation (#765518, Allison Ryan Lortie) +• Translation updates: + Friulian (Fabio Tomat) + Occitan (Cédric Valmary) + GNOME Font Viewer - 3.20.0 ------------------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/configure new/gnome-font-viewer-3.20.2/configure --- old/gnome-font-viewer-3.20.0/configure 2016-03-29 17:16:38.000000000 +0200 +++ new/gnome-font-viewer-3.20.2/configure 2016-05-11 23:35:58.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for gnome-font-viewer 3.20.0. +# Generated by GNU Autoconf 2.69 for gnome-font-viewer 3.20.2. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-font-viewer>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='gnome-font-viewer' PACKAGE_TARNAME='gnome-font-viewer' -PACKAGE_VERSION='3.20.0' -PACKAGE_STRING='gnome-font-viewer 3.20.0' +PACKAGE_VERSION='3.20.2' +PACKAGE_STRING='gnome-font-viewer 3.20.2' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-font-viewer' PACKAGE_URL='http://live.gnome.org/GnomeUtils' @@ -1380,7 +1380,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures gnome-font-viewer 3.20.0 to adapt to many kinds of systems. +\`configure' configures gnome-font-viewer 3.20.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1452,7 +1452,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gnome-font-viewer 3.20.0:";; + short | recursive ) echo "Configuration of gnome-font-viewer 3.20.2:";; esac cat <<\_ACEOF @@ -1578,7 +1578,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gnome-font-viewer configure 3.20.0 +gnome-font-viewer configure 3.20.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1977,7 +1977,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by gnome-font-viewer $as_me 3.20.0, which was +It was created by gnome-font-viewer $as_me 3.20.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2956,7 +2956,7 @@ # Define the identity of the package. PACKAGE='gnome-font-viewer' - VERSION='3.20.0' + VERSION='3.20.2' cat >>confdefs.h <<_ACEOF @@ -17570,7 +17570,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by gnome-font-viewer $as_me 3.20.0, which was +This file was extended by gnome-font-viewer $as_me 3.20.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17637,7 +17637,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -gnome-font-viewer config.status 3.20.0 +gnome-font-viewer config.status 3.20.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/configure.ac new/gnome-font-viewer-3.20.2/configure.ac --- old/gnome-font-viewer-3.20.0/configure.ac 2016-03-29 17:16:24.000000000 +0200 +++ new/gnome-font-viewer-3.20.2/configure.ac 2016-05-11 23:20:18.000000000 +0200 @@ -1,6 +1,6 @@ dnl -*- mode: m4 -*- AC_PREREQ(2.63) -AC_INIT([gnome-font-viewer], [3.20.0], +AC_INIT([gnome-font-viewer], [3.20.2], [http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-font-viewer], [gnome-font-viewer], [http://live.gnome.org/GnomeUtils]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/po/fur.po new/gnome-font-viewer-3.20.2/po/fur.po --- old/gnome-font-viewer-3.20.0/po/fur.po 2015-11-21 22:22:38.000000000 +0100 +++ new/gnome-font-viewer-3.20.2/po/fur.po 2016-05-11 23:18:25.000000000 +0200 @@ -8,27 +8,36 @@ "Project-Id-Version: gnome-font-viewer gnome-3-6\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-font-" "viewer&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2015-07-26 19:11+0000\n" -"PO-Revision-Date: 2015-07-26 23:03+0100\n" +"POT-Creation-Date: 2016-04-08 08:28+0000\n" +"PO-Revision-Date: 2016-04-08 12:41+0200\n" "Last-Translator: Fabio Tomat <[email protected]>\n" "Language-Team: Friulian <[email protected]>\n" "Language: fur\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.1\n" +"X-Generator: Poedit 1.8.5\n" -#: ../data/org.gnome.font-viewer.appdata.xml.in.h:1 +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:1 ../src/font-view.c:76 +msgid "GNOME Font Viewer" +msgstr "Visualizadôr di caratars GNOME" + +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:2 ../src/font-view.c:790 +#: ../src/org.gnome.font-viewer.desktop.in.in.h:2 +msgid "View fonts on your system" +msgstr "Viôt i caratars tal to sisteme" + +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:3 msgid "" "GNOME Font Viewer shows you the fonts installed on your computer for your use as " "thumbnails. Selecting any thumbnails shows the full view of how the font would " "look under various sizes." msgstr "" "Visualizadôr di caratars GNOME al mostre ducj i caratars instalâts sul to " -"computer come miniaturis. Selezionant une miniature al ven mostrât ce mût un " -"caratar a si viôt in varis dimensions." +"computer come miniaturis. Selezionant une miniature al ven mostrât ce mût che un " +"caratar si lu viôt in varis dimensions." -#: ../data/org.gnome.font-viewer.appdata.xml.in.h:2 +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:4 msgid "" "GNOME Font Viewer also supports installing new font files downloaded in the .ttf " "and other formats. Fonts may be installed only for your use or made available to " @@ -38,23 +47,23 @@ "scjariâts tal formât .ttf e ancje altris formâts. I caratars a puedin jessi " "instalâts par ûs personâl o par ducj i utents dal computer." -#: ../src/font-thumbnailer.c:189 +#: ../src/font-thumbnailer.c:191 msgid "Text to thumbnail (default: Aa)" msgstr "Test da miniaturizzâ (default: Aa)" -#: ../src/font-thumbnailer.c:189 +#: ../src/font-thumbnailer.c:191 msgid "TEXT" msgstr "TEST" -#: ../src/font-thumbnailer.c:191 +#: ../src/font-thumbnailer.c:193 msgid "Thumbnail size (default: 128)" msgstr "Dimension de miniature (default: 128)" -#: ../src/font-thumbnailer.c:191 +#: ../src/font-thumbnailer.c:193 msgid "SIZE" msgstr "DIMENSION" -#: ../src/font-thumbnailer.c:193 +#: ../src/font-thumbnailer.c:195 msgid "FONT-FILE OUTPUT-FILE" msgstr "FILE-CARATAR FILE-JESSUDE" @@ -66,10 +75,6 @@ msgid "Quit" msgstr "Jes" -#: ../src/font-view.c:76 -msgid "GNOME Font Viewer" -msgstr "Visualizadôr di caratars GNOME" - #: ../src/font-view.c:84 msgid "Show the application's version" msgstr "Mostre la version de aplicazion" @@ -106,44 +111,40 @@ msgid "Installed" msgstr "Installât" -#: ../src/font-view.c:306 ../src/font-view.c:551 +#: ../src/font-view.c:306 ../src/font-view.c:552 msgid "Install" msgstr "Installe" #: ../src/font-view.c:440 msgid "This font could not be displayed." -msgstr "Chest caratar a nol pues sedi mostrât." +msgstr "Chest caratar nol pues jessi mostrât." -#: ../src/font-view.c:504 ../src/font-view.c:562 +#: ../src/font-view.c:504 ../src/font-view.c:563 msgid "Info" msgstr "Informazions" -#: ../src/font-view.c:579 +#: ../src/font-view.c:580 msgid "Back" msgstr "Indaûr" -#: ../src/font-view.c:669 +#: ../src/font-view.c:671 msgid "All Fonts" msgstr "Ducj i caratars" -#: ../src/font-view.c:787 ../src/org.gnome.font-viewer.desktop.in.in.h:1 +#: ../src/font-view.c:789 ../src/org.gnome.font-viewer.desktop.in.in.h:1 msgid "Font Viewer" msgstr "Visualizadôr di caratars" -#: ../src/font-view.c:788 ../src/org.gnome.font-viewer.desktop.in.in.h:2 -msgid "View fonts on your system" -msgstr "Viôt i caratars tal to sisteme" - -#: ../src/font-view.c:790 +#: ../src/font-view.c:792 msgid "translator-credits" msgstr "Fabio Tomat <[email protected]>" -#: ../src/font-view.c:929 +#: ../src/font-view.c:931 msgid "[FILE...]" msgstr "[FILE...]" #. I18N: The '%s' is replaced with the command name. -#: ../src/font-view.c:937 +#: ../src/font-view.c:939 #, c-format msgid "Run '%s --help' to see a full list of available command line options." msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/po/oc.po new/gnome-font-viewer-3.20.2/po/oc.po --- old/gnome-font-viewer-3.20.0/po/oc.po 2015-11-21 22:22:38.000000000 +0100 +++ new/gnome-font-viewer-3.20.2/po/oc.po 2016-05-11 23:18:25.000000000 +0200 @@ -3,15 +3,16 @@ # This file is distributed under the same license as the gnome-font-viewer package. # Cédric Valmary <[email protected]>, 2015. # Cédric Valmary (Tot en òc) <[email protected]>, 2015. +# Cédric Valmary (totenoc.eu) <[email protected]>, 2016. msgid "" msgstr "" "Project-Id-Version: gnome-font-viewer master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-" "font-viewer&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2015-05-18 19:13+0000\n" -"PO-Revision-Date: 2015-10-31 08:48+0200\n" -"Last-Translator: Cédric Valmary (Tot en òc) <[email protected]>\n" -"Language-Team: Tot en òc (totenoc.eu)\n" +"POT-Creation-Date: 2016-04-29 08:35+0000\n" +"PO-Revision-Date: 2016-05-05 21:45+0200\n" +"Last-Translator: Cédric Valmary (totenoc.eu) <[email protected]>\n" +"Language-Team: Tot En Òc\n" "Language: oc\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +21,16 @@ "X-Generator: Virtaal 0.7.1\n" "X-Project-Style: gnome\n" -#: ../data/org.gnome.font-viewer.appdata.xml.in.h:1 +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:1 ../src/font-view.c:76 +msgid "GNOME Font Viewer" +msgstr "Visionador de poliça de GNOME" + +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:2 ../src/font-view.c:790 +#: ../src/org.gnome.font-viewer.desktop.in.in.h:2 +msgid "View fonts on your system" +msgstr "Aficha las poliças de vòstre sistèma" + +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:3 msgid "" "GNOME Font Viewer shows you the fonts installed on your computer for your " "use as thumbnails. Selecting any thumbnails shows the full view of how the " @@ -30,7 +40,7 @@ "sus vòstre ordenador jos la forma de miniaturas. En causissent una " "d'aquelas, obtenètz una vista completa de la poliça de diferentas talhas." -#: ../data/org.gnome.font-viewer.appdata.xml.in.h:2 +#: ../data/org.gnome.font-viewer.appdata.xml.in.h:4 msgid "" "GNOME Font Viewer also supports installing new font files downloaded in the ." "ttf and other formats. Fonts may be installed only for your use or made " @@ -41,23 +51,23 @@ "èsser installadas per vos sol o rendudas disponiblas a totes los utilizaires " "de l'ordenador." -#: ../src/font-thumbnailer.c:189 +#: ../src/font-thumbnailer.c:191 msgid "Text to thumbnail (default: Aa)" msgstr "Tèxte de miniaturizar (per defaut : Aa)" -#: ../src/font-thumbnailer.c:189 +#: ../src/font-thumbnailer.c:191 msgid "TEXT" msgstr "TÈXTE" -#: ../src/font-thumbnailer.c:191 +#: ../src/font-thumbnailer.c:193 msgid "Thumbnail size (default: 128)" msgstr "Talha de las vinhetas (per defaut : 128)" -#: ../src/font-thumbnailer.c:191 +#: ../src/font-thumbnailer.c:193 msgid "SIZE" msgstr "TALHA" -#: ../src/font-thumbnailer.c:193 +#: ../src/font-thumbnailer.c:195 msgid "FONT-FILE OUTPUT-FILE" msgstr "FICHIÈR-POLIÇA FICHIÈR-SORTIDA" @@ -69,10 +79,6 @@ msgid "Quit" msgstr "Quitar" -#: ../src/font-view.c:76 -msgid "GNOME Font Viewer" -msgstr "Visionador de poliça de GNOME" - #: ../src/font-view.c:84 msgid "Show the application's version" msgstr "Aficha la version de l'aplicacion" @@ -109,7 +115,7 @@ msgid "Installed" msgstr "Installat" -#: ../src/font-view.c:306 ../src/font-view.c:551 +#: ../src/font-view.c:306 ../src/font-view.c:552 msgid "Install" msgstr "Installar" @@ -117,48 +123,41 @@ msgid "This font could not be displayed." msgstr "Aquesta poliça a pas pogut èsser afichada." -#: ../src/font-view.c:504 ../src/font-view.c:562 +#: ../src/font-view.c:504 ../src/font-view.c:563 msgid "Info" msgstr "Informacion" -#: ../src/font-view.c:579 +#: ../src/font-view.c:580 msgid "Back" msgstr "Retorn" -#: ../src/font-view.c:669 +#: ../src/font-view.c:671 msgid "All Fonts" msgstr "Totas las poliças" -#: ../src/font-view.c:787 ../src/org.gnome.font-viewer.desktop.in.in.h:1 +#: ../src/font-view.c:789 ../src/org.gnome.font-viewer.desktop.in.in.h:1 msgid "Font Viewer" msgstr "Visionador de poliça" -#: ../src/font-view.c:788 ../src/org.gnome.font-viewer.desktop.in.in.h:2 -msgid "View fonts on your system" -msgstr "Aficha las poliças de vòstre sistèma" - -#: ../src/font-view.c:790 +#: ../src/font-view.c:792 msgid "translator-credits" msgstr "Cédric Valmary (Tot en Òc) <[email protected]>" -#: ../src/font-view.c:929 -msgid "[FILE...]" -msgstr "[FICHIÈR...]" - -#. I18N: The '%s' is replaced with the command name. -#: ../src/font-view.c:937 -#, c-format -msgid "Run '%s --help' to see a full list of available command line options." -msgstr "" -"Aviatz « %s --help » per veire la lista completa de las opcions disponiblas " -"en linha de comanda." - #: ../src/org.gnome.font-viewer.desktop.in.in.h:3 msgid "fonts;fontface;" msgstr "poliças;fontas;" +#~ msgid "[FILE...]" +#~ msgstr "[FICHIÈR...]" + +#~ msgid "" +#~ "Run '%s --help' to see a full list of available command line options." +#~ msgstr "" +#~ "Aviatz « %s --help » per veire la lista completa de las opcions " +#~ "disponiblas en linha de comanda." + #~ msgid "About Font Viewer" #~ msgstr "A prepaus del Visionador de poliça" #~ msgid "Done" -#~ msgstr "Terminé" +#~ msgstr "Acabat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/src/font-view-resources.c new/gnome-font-viewer-3.20.2/src/font-view-resources.c --- old/gnome-font-viewer-3.20.0/src/font-view-resources.c 2015-01-19 23:01:16.000000000 +0100 +++ new/gnome-font-viewer-3.20.2/src/font-view-resources.c 2016-05-11 23:36:19.000000000 +0200 @@ -121,17 +121,43 @@ #define G_HAS_CONSTRUCTORS 1 -#define G_DEFINE_CONSTRUCTOR(_func) \ +/* We do some weird things to avoid the constructors being optimized + * away on VS2015 if WholeProgramOptimization is enabled. First we + * make a reference to the array from the wrapper to make sure its + * references. Then we use a pragma to make sure the wrapper function + * symbol is always included at the link stage. Also, the symbols + * need to be extern (but not dllexport), even though they are not + * really used from another object file. + */ + +/* We need to account for differences between the mangling of symbols + * for Win32 (x86) and x64 programs, as symbols on Win32 are prefixed + * with an underscore but symbols on x64 are not. + */ +#ifdef _WIN64 +#define G_MSVC_SYMBOL_PREFIX "" +#else +#define G_MSVC_SYMBOL_PREFIX "_" +#endif + +#define G_DEFINE_CONSTRUCTOR(_func) G_MSVC_CTOR (_func, G_MSVC_SYMBOL_PREFIX) +#define G_DEFINE_DESTRUCTOR(_func) G_MSVC_DTOR (_func, G_MSVC_SYMBOL_PREFIX) + +#define G_MSVC_CTOR(_func,_sym_prefix) \ static void _func(void); \ - static int _func ## _wrapper(void) { _func(); return 0; } \ + extern int (* _array ## _func)(void); \ + int _func ## _wrapper(void) { _func(); g_slist_find (NULL, _array ## _func); return 0; } \ + __pragma(comment(linker,"/include:" _sym_prefix # _func "_wrapper")) \ __pragma(section(".CRT$XCU",read)) \ - __declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _wrapper; + __declspec(allocate(".CRT$XCU")) int (* _array ## _func)(void) = _func ## _wrapper; -#define G_DEFINE_DESTRUCTOR(_func) \ +#define G_MSVC_DTOR(_func,_sym_prefix) \ static void _func(void); \ - static int _func ## _constructor(void) { atexit (_func); return 0; } \ + extern int (* _array ## _func)(void); \ + int _func ## _constructor(void) { atexit (_func); g_slist_find (NULL, _array ## _func); return 0; } \ + __pragma(comment(linker,"/include:" _sym_prefix # _func "_constructor")) \ __pragma(section(".CRT$XCU",read)) \ - __declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _constructor; + __declspec(allocate(".CRT$XCU")) int (* _array ## _func)(void) = _func ## _constructor; #elif defined (_MSC_VER) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gnome-font-viewer-3.20.0/src/font-view.c new/gnome-font-viewer-3.20.2/src/font-view.c --- old/gnome-font-viewer-3.20.0/src/font-view.c 2016-03-29 17:11:58.000000000 +0200 +++ new/gnome-font-viewer-3.20.2/src/font-view.c 2016-05-11 23:18:25.000000000 +0200 @@ -919,7 +919,6 @@ GApplication *app; gint retval; GError *error = NULL; - GOptionContext *ctx; bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); @@ -928,27 +927,8 @@ if (!FcInit ()) g_critical ("Can't initialize fontconfig library"); - ctx = g_option_context_new (_("[FILE...]")); - g_option_context_add_main_entries (ctx, goption_options, PACKAGE); - g_option_context_add_group (ctx, gtk_get_option_group (FALSE)); - - if (!g_option_context_parse (ctx, &argc, &argv, &error)) { - gchar *help_msg; - - /* I18N: The '%s' is replaced with the command name. */ - help_msg = g_strdup_printf (_("Run '%s --help' to see a full " - "list of available command line " - "options."), argv[0]); - g_printerr ("%s\n%s\n", error->message, help_msg); - g_error_free (error); - g_free (help_msg); - g_option_context_free (ctx); - - return EXIT_FAILURE; - } - g_option_context_free (ctx); - app = font_view_application_new (); + g_application_add_main_option_entries (app, goption_options); retval = g_application_run (app, argc, argv); g_object_unref (app);
