All pastes #944053 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-15 20:17 UTC
rendered paste body
bonobo-moniker.c: In function 'bonobo_moniker_set_parent':
bonobo-moniker.c:79: error: 'G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function)
bonobo-moniker.c:79: error: (Each undeclared identifier is reported only once
bonobo-moniker.c:79: error: for each function it appears in.)
bonobo-moniker.c: In function 'bonobo_moniker_get_parent':
bonobo-moniker.c:111: error: 'G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function)
bonobo-moniker.c: In function 'impl_set_name':
bonobo-moniker.c:280: error: 'G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function)

bonobo-moniker.c:
void
bonobo_moniker_set_parent (BonoboMoniker     *moniker,
                           Bonobo_Moniker     parent,
                           CORBA_Environment *opt_ev)
{
        CORBA_Environment ev, *my_ev;

   (line 79)     bonobo_return_if_fail (BONOBO_IS_MONIKER (moniker), opt_ev);

        if (!opt_ev) {
                CORBA_exception_init (&ev);
                my_ev = &ev;
        } else
                my_ev = opt_ev;

        if (moniker->priv->parent != CORBA_OBJECT_NIL) {
                Bonobo_Moniker_setParent (moniker->priv->parent, parent, my_ev);
        } else
                moniker->priv->parent = bonobo_object_dup_ref (parent, my_ev);

        if (!opt_ev)
                CORBA_exception_free (&ev);
}