Changeset 2646


Ignore:
Timestamp:
08/06/07 15:01:32 (6 years ago)
Author:
njp
Message:

2007-08-06 Neil J. Patel <njp@…>

  • src/moko-contacts.c: (moko_contacts_lookup): Check entry is valid before performing operations on it.
Location:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog

    r2645 r2646  
     12007-08-06  Neil J. Patel  <njp@o-hand.com> 
     2 
     3        * src/moko-contacts.c: (moko_contacts_lookup): 
     4        Check entry is valid before performing operations on it. 
     5 
    162007-08-06  Neil J. Patel  <njp@o-hand.com> 
    27 
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-contacts.c

    r2645 r2646  
    3838  EBook      *book; 
    3939 
    40   GList      *contacts; 
     40  List      *contacts; 
    4141  GList      *entries; 
    4242  GHashTable *prefixes; 
     
    9090  entry =  g_hash_table_lookup (priv->prefixes, number); 
    9191 
    92   if (!GDK_IS_PIXBUF (entry->contact->photo)) 
     92  if (entry && !GDK_IS_PIXBUF (entry->contact->photo)) 
    9393    moko_contacts_get_photo (contacts, entry->contact); 
    9494 
Note: See TracChangeset for help on using the changeset viewer.