Remove unused contacts booleans

This commit is contained in:
Alexander Larsson 2011-12-16 18:01:08 +01:00
parent 7bec500650
commit 629f518d74
3 changed files with 0 additions and 6 deletions

View file

@ -1361,7 +1361,6 @@ public class Contacts.ContactPane : ScrolledWindow {
private async Persona? set_persona_property (Persona persona,
string property_name,
Value value) throws GLib.Error, PropertyError {
contact.is_unedited = false;
if (persona is FakePersona) {
var fake = persona as FakePersona;
return yield fake.make_real_and_set (property_name, value);
@ -1379,7 +1378,6 @@ public class Contacts.ContactPane : ScrolledWindow {
private async Persona? set_individual_property (Contact contact,
string property_name,
Value value) throws GLib.Error, PropertyError {
contact.is_unedited = false;
bool did_set = false;
// Need to make a copy here as it could change during the yields
var personas_copy = contact.individual.personas.to_array ();

View file

@ -110,8 +110,6 @@ public class Contacts.Contact : GLib.Object {
public PresenceType presence_type;
public string presence_message;
public bool is_phone;
public bool is_new;
public bool is_unedited;
struct ContactDataRef {
void *key;
void *data;

View file

@ -409,8 +409,6 @@ public class Contacts.ViewWidget : TreeView {
cell.visible = true;
var name = contact.display_name;
if (name == "" && contact.is_new)
name = _("New contact");
switch (text_display) {
default:
case TextDisplay.NONE: