best-match: Add property for primary and secondary display information
This allows to get rid of any special casing that the users of the calls_best_match_get_name() and calls_best_match_get_id() had to do previously. We also allow passing in NULL for *_get_primary_info () and *_get_secondary_info () for the anonymous caller case.
This commit is contained in:
@@ -40,6 +40,8 @@ void calls_best_match_set_phone_number (CallsBestMatch *self,
|
||||
const char *phone_number);
|
||||
const char *calls_best_match_get_name (CallsBestMatch *self);
|
||||
GLoadableIcon *calls_best_match_get_avatar (CallsBestMatch *self);
|
||||
const char *calls_best_match_get_primary_info (CallsBestMatch *self);
|
||||
const char *calls_best_match_get_secondary_info (CallsBestMatch *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user