gtk+ r21645 - in trunk: . tests
- From: bratsche svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21645 - in trunk: . tests
- Date: Mon, 13 Oct 2008 15:15:23 +0000 (UTC)
Author: bratsche
Date: Mon Oct 13 15:15:23 2008
New Revision: 21645
URL: http://svn.gnome.org/viewvc/gtk+?rev=21645&view=rev
Log:
2008-10-13 Cody Russell <cody jhu edu>
* test/testfilechooser.c: Fix option parsing so that -a and
--action work correctly.
Modified:
trunk/ChangeLog
trunk/tests/testfilechooser.c
Modified: trunk/tests/testfilechooser.c
==============================================================================
--- trunk/tests/testfilechooser.c (original)
+++ trunk/tests/testfilechooser.c Mon Oct 13 15:15:23 2008
@@ -491,7 +491,7 @@
char *backend = NULL;
GError *error = NULL;
GOptionEntry options[] = {
- { "action", 'a', 0, G_OPTION_ARG_STRING, &action, "Filechooser action", "ACTION" },
+ { "action", 'a', 0, G_OPTION_ARG_STRING, &action_arg, "Filechooser action", "ACTION" },
{ "backend", 'b', 0, G_OPTION_ARG_STRING, &backend, "Filechooser backend (default: gtk+)", "BACKEND" },
{ "multiple", 'm', 0, G_OPTION_ARG_NONE, &multiple, "Select-multiple", NULL },
{ "right-to-left", 'r', 0, G_OPTION_ARG_NONE, &force_rtl, "Force right-to-left layout.", NULL },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]