~ubuntu-branches/ubuntu/utopic/linphone/utopic-proposed

« back to all changes in this revision

Viewing changes to gtk-glade/propertybox.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-06-07 22:14:41 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100607221441-sbk1n7hp0mzu1rze
Tags: 3.3.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
802
802
        /* SIP CONFIG */
803
803
        contact=linphone_core_get_primary_contact_parsed(lc);
804
804
        if (contact){
805
 
                if (linphone_address_get_display_name(contact)) 
806
 
                        gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(pb,"displayname")),linphone_address_get_display_name(contact));
 
805
                if (linphone_address_get_display_name(contact)) {
 
806
                        const char *dn=linphone_address_get_display_name(contact);
 
807
                        gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(pb,"displayname")),dn);
 
808
                }
807
809
                if (linphone_address_get_username(contact))
808
810
                        gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(pb,"username")),linphone_address_get_username(contact));
809
811
        }