GNOME Bugzilla – Bug 621879
update for glib api changes in 2.25.9
Last modified: 2010-06-19 04:22:22 UTC
Created attachment 163905 [details] [review] patch When I release glib 2.25.9 today or tomorrow, the api changes in gdbus will cause problems for apps which have already started using gdbus. Here is a patch for nautilus - note that it is not tested at all.
Review of attachment 163905 [details] [review]: Patch fails to build, but fix is trivial.. didn't test it though. ::: src/nautilus-application.c @@ +614,2 @@ g_variant_get (variant, "(&o)", &session_path); This is missing the GCancellable parameter. @@ +619,3 @@ + CK_NAME, + session_path, + CK_INTERFACE ".Session", + NULL,
+pk_proxy_appeared_cb (GObject *source, + GAsyncResult *res, gpointer user_data) { ActivateParametersInstall *parameters_install = user_data; char *mime_type; char *error_message; GtkWidget *dialog; + GDBusProxy *proxy; + + proxy = g_dbus_proxy_new_for_bus_finish (res, NULL); Should check for error (proxy == NULL) here.
Thanks Matthias, I pushed to master a patch based on yours that checks for error != NULL and builds correctly. Closing as FIXED.
*** Bug 621871 has been marked as a duplicate of this bug. ***