From 5b1255d0e3e92635985aa058bdd87670e8891095 Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Fri, 26 Feb 2010 13:52:36 +0000 Subject: Update to TPL 0.1.1 Updated the the pkg-config version to 0.1.1 Updated the the pkg-config dep name fom libtelepathy-logger to telepathy-logger Updated TPL's _finish() methods using one for each async API. --- libempathy-gtk/empathy-chat.c | 2 +- libempathy-gtk/empathy-log-window.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index edb2aabc3..bec1d7704 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1815,7 +1815,7 @@ got_filtered_messages_cb (GObject *manager, EmpathyChatPriv *priv = GET_PRIV (chat); GError *error = NULL; - messages = tpl_log_manager_async_operation_finish (result, &error); + messages = tpl_log_manager_get_filtered_messages_async_finish (result, &error); if (error != NULL) { DEBUG ("%s. Aborting.", error->message); diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 7044d2e91..3345f5b15 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -365,7 +365,7 @@ got_messages_for_date_cb (GObject *manager, gboolean can_do_next; GError *error = NULL; - messages = tpl_log_manager_async_operation_finish (result, &error); + messages = tpl_log_manager_get_messages_for_date_async_finish (result, &error); if (error != NULL) { DEBUG ("Unable to retrieve messages for the selected date: %s. Aborting", @@ -520,7 +520,7 @@ log_manager_searched_new_cb (GObject *manager, GtkListStore *store = user_data; GError *error = NULL; - hits = tpl_log_manager_async_operation_finish (result, &error); + hits = tpl_log_manager_search_new_async_finish (result, &error); if (error != NULL) { DEBUG ("%s. Aborting", error->message); @@ -832,7 +832,7 @@ log_manager_got_chats_cb (GObject *manager, GtkTreeIter iter; GError *error = NULL; - chats = tpl_log_manager_async_operation_finish (result, &error); + chats = tpl_log_manager_get_chats_async_finish (result, &error); if (error != NULL) { DEBUG ("%s. Aborting", error->message); @@ -1130,7 +1130,7 @@ log_window_got_messages_for_date_cb (GObject *manager, GList *l; GError *error = NULL; - messages = tpl_log_manager_async_operation_finish (result, &error); + messages = tpl_log_manager_get_messages_for_date_async_finish (result, &error); if (error != NULL) { DEBUG ("Unable to retrieve messages for the selected date: %s. Aborting", @@ -1205,7 +1205,7 @@ log_manager_got_dates_cb (GObject *manager, const gchar *date = NULL; GError *error = NULL; - dates = tpl_log_manager_async_operation_finish (result, &error); + dates = tpl_log_manager_get_dates_async_finish (result, &error); if (error != NULL) { DEBUG ("Unable to retrieve messages' dates: %s. Aborting", @@ -1507,7 +1507,7 @@ log_window_updating_calendar_month_cb (GObject *manager, guint month_selected; GError *error = NULL; - dates = tpl_log_manager_async_operation_finish (result, &error); + dates = tpl_log_manager_get_dates_async_finish (result, &error); if (error != NULL) { DEBUG ("Unable to retrieve messages' dates: %s. Aborting", -- cgit v1.2.3