Author: kelnos Date: 2008-11-06 11:25:05 +0000 (Thu, 06 Nov 2008) New Revision: 28632
Modified: libexo/trunk/ChangeLog libexo/trunk/exo-helper/main.c Log: * exo-helper/main.c: Fix compile against glib < 2.14. Modified: libexo/trunk/ChangeLog =================================================================== --- libexo/trunk/ChangeLog 2008-11-06 11:24:23 UTC (rev 28631) +++ libexo/trunk/ChangeLog 2008-11-06 11:25:05 UTC (rev 28632) @@ -1,3 +1,7 @@ +2008-11-06 Brian Tarricone <[EMAIL PROTECTED]> + + * exo-helper/main.c: Fix compile against glib < 2.14. + 2008-11-03 Jannis Pohlmann <[EMAIL PROTECTED]> * exo/exo-url.c: Split up assignment and conditional into separate Modified: libexo/trunk/exo-helper/main.c =================================================================== --- libexo/trunk/exo-helper/main.c 2008-11-06 11:24:23 UTC (rev 28631) +++ libexo/trunk/exo-helper/main.c 2008-11-06 11:25:05 UTC (rev 28632) @@ -200,7 +200,11 @@ else { result = EXIT_FAILURE; - g_printerr (g_option_context_get_help (opt_ctx, FALSE, NULL)); +#if GLIB_CHECK_VERSION(2, 14, 0) + g_printerr ("%s", g_option_context_get_help (opt_ctx, FALSE, NULL)); +#else + g_printerr (_("Unknown helper arguments.\n")); +#endif } g_option_context_free (opt_ctx); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits