[gnome-initial-setup: 1/2] account: Fix invalid type warning
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup: 1/2] account: Fix invalid type warning
- Date: Thu, 28 Jun 2018 09:01:38 +0000 (UTC)
commit f61c3b8e39da6a8e520716d07d32739c11b3a82e
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Jun 25 14:07:06 2018 +1200
account: Fix invalid type warning
gnome-initial-setup/pages/account/um-realm-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/um-realm-manager.c
b/gnome-initial-setup/pages/account/um-realm-manager.c
index 2cc007a..bc4fd33 100644
--- a/gnome-initial-setup/pages/account/um-realm-manager.c
+++ b/gnome-initial-setup/pages/account/um-realm-manager.c
@@ -256,7 +256,7 @@ um_realm_manager_new_finish (GAsyncResult *result,
}
typedef struct {
- GDBusObjectManager *manager;
+ UmRealmManager *manager;
GCancellable *cancellable;
GList *realms;
} DiscoverClosure;
@@ -289,7 +289,7 @@ on_provider_discover (GObject *source,
&realms, result, &error);
if (error == NULL) {
for (i = 0; realms[i]; i++) {
- object = g_dbus_object_manager_get_object (discover->manager, realms[i]);
+ object = g_dbus_object_manager_get_object (G_DBUS_OBJECT_MANAGER
(discover->manager), realms[i]);
if (object == NULL) {
g_warning ("Realm is not in object manager: %s", realms[i]);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]