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

« back to all changes in this revision

Viewing changes to monikers/bonobo-moniker-extender-stream.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-02-18 14:40:51 UTC
  • mto: (3.1.1 etch) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050218144051-fo4h9qh2gim8x3wt
Tags: upstream-2.8.1
ImportĀ upstreamĀ versionĀ 2.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        Bonobo_Unknown stream;
50
50
        Bonobo_Persist persist;
51
51
 
52
 
        g_warning ("Stream extender: '%s'", display_name);
53
 
 
 
52
#ifdef G_ENABLE_DEBUG
 
53
        g_message ("Stream extender: '%s'", display_name);
 
54
#endif
54
55
        if (!m)
55
56
                return CORBA_OBJECT_NIL;
56
57
 
69
70
                mime_type, requested_interface);
70
71
                
71
72
        object = bonobo_activation_activate (requirements, NULL, 0, NULL, ev);
72
 
        g_warning ("Attempt activate object satisfying '%s': %p",
 
73
#ifdef G_ENABLE_DEBUG
 
74
        g_message ("Attempt activate object satisfying '%s': %p",
73
75
                   requirements, object);
 
76
#endif
74
77
        g_free (requirements);
75
78
 
76
79
        if (ev->_major != CORBA_NO_EXCEPTION)
77
80
                goto unref_stream_exception;
78
81
                
79
82
        if (object == CORBA_OBJECT_NIL) {
 
83
#ifdef G_ENABLE_DEBUG
80
84
                g_warning ("Can't find object satisfying requirements");
 
85
#endif
81
86
                CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
82
87
                                     ex_Bonobo_Moniker_InterfaceNotFound, NULL);
83
88
                goto unref_stream_exception;