Codebase list virt-viewer / e1a52e1
Call gtk_init early to ensure it grabs args like --sync Daniel P. Berrange 16 years ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
99 Chris Lalancette <clalance-at-redhat-dot-com>
1010 Atsushi SAKAI <sakaia-at-jp-dot-fujitsu-dot-com>
1111 Richard W.M. Jones <rjones-at-redhat-dot-com>
12 Guido G\374nther <agx-at-sigxcpu-dot-org>
1213
1314 ...send patches to get your name here...
1415
909909 int set_verbose = 0;
910910 int ret;
911911
912 gtk_init(&argc, &argv);
913
912914 while ((ch = getopt_long(argc, argv, sopts, lopts, &opt_ind)) != -1) {
913915 switch (ch) {
914916 case 'h':
940942 return 1;
941943 }
942944
943 gtk_init(&argc, &argv);
944945
945946 name = argv[optind];
946947 ret = viewer_start (uri, name, direct, waitvnc, set_verbose,