[evolution-mapi] Use thread safe variants of g_object_bind_property*() functions from evolution-data-server
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Use thread safe variants of g_object_bind_property*() functions from evolution-data-server
- Date: Tue, 24 Feb 2015 08:56:28 +0000 (UTC)
commit ff9b873768e01381e6c95411c9c2a08cc4b3f893
Author: Milan Crha <mcrha redhat com>
Date: Tue Feb 24 09:56:22 2015 +0100
Use thread safe variants of g_object_bind_property*() functions from evolution-data-server
src/collection/e-mapi-backend.c | 2 +-
src/configuration/e-book-config-mapigal.c | 2 +-
src/configuration/e-mail-config-mapi-backend.c | 10 +++++-----
src/configuration/e-mapi-config-utils.c | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/collection/e-mapi-backend.c b/src/collection/e-mapi-backend.c
index 5f0779f..515f519 100644
--- a/src/collection/e-mapi-backend.c
+++ b/src/collection/e-mapi-backend.c
@@ -546,7 +546,7 @@ mapi_backend_child_added (ECollectionBackend *backend,
auth_child_extension = e_source_get_extension (
child_source, extension_name);
- g_object_bind_property (
+ e_binding_bind_property (
collection_extension, "identity",
auth_child_extension, "user",
G_BINDING_SYNC_CREATE);
diff --git a/src/configuration/e-book-config-mapigal.c b/src/configuration/e-book-config-mapigal.c
index 5df9879..518317a 100644
--- a/src/configuration/e-book-config-mapigal.c
+++ b/src/configuration/e-book-config-mapigal.c
@@ -62,7 +62,7 @@ book_config_mapigal_insert_widgets (ESourceConfigBackend *backend,
e_source_config_insert_widget (config, scratch_source, NULL, widget);
gtk_widget_show (widget);
- g_object_bind_property (
+ e_binding_bind_property (
folder_ext, "allow-partial",
widget, "active",
G_BINDING_BIDIRECTIONAL |
diff --git a/src/configuration/e-mail-config-mapi-backend.c b/src/configuration/e-mail-config-mapi-backend.c
index 158d6e9..8c346da 100644
--- a/src/configuration/e-mail-config-mapi-backend.c
+++ b/src/configuration/e-mail-config-mapi-backend.c
@@ -756,7 +756,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
gtk_grid_attach (content_grid, secure_conn, 1, irow, 1, 1);
irow++;
- g_object_bind_property_full (
+ e_binding_bind_property_full (
settings, "security-method",
secure_conn, "active",
G_BINDING_BIDIRECTIONAL |
@@ -768,7 +768,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
krb_sso = gtk_check_button_new_with_mnemonic (_("_Kerberos authentication"));
gtk_widget_set_hexpand (secure_conn, TRUE);
- g_object_bind_property (
+ e_binding_bind_property (
settings, "kerberos",
krb_sso, "active",
G_BINDING_BIDIRECTIONAL |
@@ -780,7 +780,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
label = gtk_label_new_with_mnemonic (_("_Realm name:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
- g_object_bind_property (
+ e_binding_bind_property (
settings, "kerberos",
label, "sensitive",
G_BINDING_SYNC_CREATE);
@@ -799,7 +799,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
G_BINDING_BIDIRECTIONAL |
G_BINDING_SYNC_CREATE);
- g_object_bind_property (
+ e_binding_bind_property (
settings, "kerberos",
entry, "sensitive",
G_BINDING_SYNC_CREATE);
@@ -811,7 +811,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
extension = e_source_get_extension (source, E_SOURCE_EXTENSION_COLLECTION);
/* The collection identity is the user name. */
- g_object_bind_property (
+ e_binding_bind_property (
settings, "user",
extension, "identity",
G_BINDING_BIDIRECTIONAL |
diff --git a/src/configuration/e-mapi-config-utils.c b/src/configuration/e-mapi-config-utils.c
index 5766542..ea2c384 100644
--- a/src/configuration/e-mapi-config-utils.c
+++ b/src/configuration/e-mapi-config-utils.c
@@ -1605,7 +1605,7 @@ e_mapi_config_utils_insert_widgets (ESourceConfigBackend *backend,
e_source_config_insert_widget (config, scratch_source, NULL, widget);
gtk_widget_show (widget);
- g_object_bind_property (
+ e_binding_bind_property (
folder_ext, "server-notification",
widget, "active",
G_BINDING_BIDIRECTIONAL |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]