contacts-provider: Codestyle
This commit is contained in:
@@ -43,6 +43,7 @@ typedef struct
|
||||
gpointer user_data;
|
||||
} IdleData;
|
||||
|
||||
|
||||
struct _CallsContactsProvider
|
||||
{
|
||||
GObject parent_instance;
|
||||
@@ -69,6 +70,7 @@ enum {
|
||||
};
|
||||
static guint signals[SIGNAL_LAST_SIGNAL];
|
||||
|
||||
|
||||
static void folks_remove_contact (CallsContactsProvider *self,
|
||||
FolksIndividual *individual);
|
||||
static void folks_add_contact (CallsContactsProvider *self,
|
||||
@@ -84,6 +86,7 @@ folks_individual_has_phone_numbers (FolksIndividual *individual)
|
||||
return !gee_collection_get_is_empty (GEE_COLLECTION (phone_numbers));
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
folks_individual_property_changed_cb (CallsContactsProvider *self,
|
||||
GParamSpec *pspec,
|
||||
@@ -93,6 +96,7 @@ folks_individual_property_changed_cb (CallsContactsProvider *self,
|
||||
folks_remove_contact (self, individual);
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
do_on_idle (IdleData *data)
|
||||
{
|
||||
@@ -105,6 +109,7 @@ do_on_idle (IdleData *data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
folks_add_contact (CallsContactsProvider *self,
|
||||
FolksIndividual *individual)
|
||||
@@ -155,6 +160,7 @@ folks_individuals_changed_cb (CallsContactsProvider *self,
|
||||
self);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
folks_prepare_cb (GObject *obj,
|
||||
GAsyncResult *res,
|
||||
@@ -168,6 +174,7 @@ folks_prepare_cb (GObject *obj,
|
||||
g_warning ("Failed to load Folks contacts: %s", error->message);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
calls_contacts_provider_set_property (GObject *object,
|
||||
guint property_id,
|
||||
@@ -267,6 +274,7 @@ calls_contacts_provider_init (CallsContactsProvider *self)
|
||||
g_object_unref);
|
||||
}
|
||||
|
||||
|
||||
CallsContactsProvider *
|
||||
calls_contacts_provider_new (CallsSettings *settings)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user