~ubuntu-branches/ubuntu/gutsy/libbonobo/gutsy

« back to all changes in this revision

Viewing changes to bonobo-activation/bonobo-activation-activate.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-09-17 16:38:13 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20070917163813-sg2l3nt1q6s3lybq
Tags: 2.20.0-0ubuntu1
* New upstream version:
  - Add unit test for bug 427992.
  - Align configure switches
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
        ORBit_sequence_append (activation_environment, &env_value);
793
793
}
794
794
 
 
795
CORBA_char *
 
796
_bonobo_activation_get_activation_env_value (const char *name)
 
797
{
 
798
        int                        i;
 
799
 
 
800
        g_return_if_fail (name != NULL);
 
801
 
 
802
        for (i = 0; i < activation_environment->_length; i++) {
 
803
                if (strcmp (activation_environment->_buffer [i].name, name) == 0) {
 
804
                        return activation_environment->_buffer [i].value;
 
805
                }
 
806
        }
 
807
        return NULL;
 
808
}
 
809
 
 
810
 
795
811
/**
796
812
 * bonobo_activation_name_service_get:
797
813
 * @ev: %CORBA_Environment structure which will contain