1 --- gtkperf/src/callbacks.c 2005-10-30 11:33:42.000000000 +0000
2 +++ gtkperf-patched/src/callbacks.c 2008-05-23 23:41:17.000000000 +0100
8 +on_cmdline_test(char *optarg)
10 + appdata->test_type = atoi(optarg);
14 /* Initialize appdata */
16 setup_appdata(AppData * appdata_in)
18 appdata->pixbuf_drawing = gdk_pixbuf_new_from_file (filename, NULL);
20 gtk_combo_box_set_active (GTK_COMBO_BOX (appdata->combobox_testtype),
22 + appdata->test_type);
24 /* create end mark to info textview */
26 --- gtkperf/src/callbacks.h 2005-10-30 10:21:23.000000000 +0000
27 +++ gtkperf-patched/src/callbacks.h 2008-05-23 23:22:30.000000000 +0100
29 void on_cmdline_run_all ();
30 void on_cmdline_help () ;
31 void on_cmdline_count (char *optarg) ;
32 +void on_cmdline_test (char *optarg) ;
33 void on_window_main_show (AppData * data);
36 --- gtkperf/src/main.c 2005-10-30 11:26:42.000000000 +0000
37 +++ gtkperf-patched/src/main.c 2008-05-23 23:44:02.000000000 +0100
40 {"automatic", 0, 0, 0},
45 - c = getopt_long (argc, argv, "hac:",
46 + c = getopt_long (argc, argv, "hac:t:",
47 long_options, &option_index);
51 on_cmdline_count(optarg);
55 + on_cmdline_test(optarg);