~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to tests/test-activation/bonobo-activation-test.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-03-06 18:53:16 UTC
  • mfrom: (1.1.25 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090306185316-uf09r30g7cvf67xi
Tags: 2.24.1-1
* New upstream bugfix release.
* debian/control.in:
  + Build depend on GLib >= 2.14.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
274
274
 
275
275
        for (i = 0; i < 1000; i++) {
276
276
                Bonobo_ServerInfoList *copy;
277
 
#if 0
278
 
                info = bonobo_activation_query (query, sort_by, &ev);
279
 
 
280
 
                if (ev._major == CORBA_NO_EXCEPTION) {
281
 
                        CORBA_free (info);
282
 
                } else {
283
 
                        fprintf (stderr, "Test of query failed '%s'\n",
284
 
                                 bonobo_activation_exception_id (&ev));
285
 
                }
286
 
#else
287
277
                copy = Bonobo_ServerInfoList_duplicate (info);
288
278
                CORBA_free (copy);
289
 
#endif
290
279
        }
291
280
        g_timer_stop (timer);
292
281