GNOME Bugzilla – Bug 621445
[scrsaver] Adapt to GDBus API change
Last modified: 2010-06-18 16:01:03 UTC
See http://mail.gnome.org/archives/gtk-devel-list/2010-June/msg00079.html The patch allows totem to compile with glib-master, but right now I'm getting an apparently unrelated runtime error (TotemStatusbar) on launch, so I'm afraid the patch is untested.
Created attachment 163509 [details] [review] [scrsaver] Adapt to GDBus API change The g_bus_watch_proxy/g_bus_unwatch_proxy API has been removed. Instead, it is now possible to use well-known names for GBusProxy.
Doing _sync calls in the object init method is wrong. We just went to a lot of trouble to make this completely async in evince!
Created attachment 163545 [details] [review] [scrsaver] Adapt to GDBus API change (In reply to comment #2) > Doing _sync calls in the object init method is wrong. We just went to a lot of > trouble to make this completely async in evince! Makes sense. Updated patch to use async API.
Created attachment 163961 [details] [review] [scrsaver] Adapt to GDBus API change With bug 621905 fixed, I have finally been able to actually test the patch ...
Review of attachment 163961 [details] [review]: ::: lib/totem-scrsaver.c @@ +251,3 @@ + screensaver_update_dbus_presence (scr); + + g_signal_connect (priv->gs_proxy, "notify::name-owner", property name is g-name-owner
Created attachment 164004 [details] [review] [scrsaver] Adapt to GDBus API change (In reply to comment #5) > property name is g-name-owner Gah - prefixed properties ... Fixed.
Carlos, chpe, can I get a review on that? If that's OK by you, then feel free to commit it, and update evince.
Looks good to me, Evince already updated (http://git.gnome.org/browse/evince/commit/?id=2297bff1e7d745f0f837d44feeda03244368d7f1) Florian, please, push it to totem git too.
Attachment 164004 [details] pushed as 87b6378 - [scrsaver] Adapt to GDBus API change