[accounts-dialog/gdbus: 2/5] Fix build issues



commit f79c783020bb4fc961086a5184e01d1a28f95d2f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 22 01:02:57 2010 -0400

    Fix build issues

 src/um-login-options.c |   16 +++++++---------
 src/um-user-panel.c    |    4 ----
 2 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/src/um-login-options.c b/src/um-login-options.c
index ed35b98..76db545 100644
--- a/src/um-login-options.c
+++ b/src/um-login-options.c
@@ -264,15 +264,13 @@ update_login_options (GtkWidget      *widget,
         gconf_value_set_bool (value, !active);
         value_string = gconf_value_encode (value);
         error = NULL;
-        res = g_dbus_g_proxy_call (d->proxy,
-                                   "SetMandatoryValue",
-                                   g_variant_new ("(ss)",
-                                                  key,
-                                                  value_string),
-                                   G_DBUS_CALL_FLAGS_NONE,
-                                   -1,
-                                   NULL,
-                                   &error);
+        res = g_dbus_proxy_call_sync (d->proxy,
+                                      "SetMandatoryValue",
+                                      g_variant_new ("(ss)",
+                                                     key,
+                                                     value_string),
+                                      G_DBUS_CALL_FLAGS_NONE,
+                                      -1, NULL, &error);
        if (res == NULL) {
                g_warning ("error calling SetMandatoryValue: %s\n", error->message);
                g_error_free (error);
diff --git a/src/um-user-panel.c b/src/um-user-panel.c
index 79a3372..03efb16 100644
--- a/src/um-user-panel.c
+++ b/src/um-user-panel.c
@@ -33,7 +33,6 @@
 #include <gtk/gtk.h>
 #include <polkit/polkit.h>
 #include <polkitgtk/polkitgtk.h>
-#include <dbus/dbus-glib-bindings.h>
 
 #ifdef HAVE_CHEESE
 #include <gst/gst.h>
@@ -1154,9 +1153,6 @@ um_user_panel_init (UmUserPanel *self)
         const gchar *filename;
         GtkWidget *button;
 
-        dbus_g_object_register_marshaller (fprintd_marshal_VOID__STRING_BOOLEAN,
-                                           G_TYPE_NONE, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_INVALID);
-
         d = self->priv = UM_USER_PANEL_PRIVATE (self);
 
         /* register types that the builder might need */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]