summaryrefslogtreecommitdiff
path: root/tumblerd/tumbler-specialized-thumbnailer.c
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-10-06 21:16:56 +0200
committerJannis Pohlmann <jannis@xfce.org>2009-10-06 21:16:56 +0200
commitabcebdf3a33db65061003f923a0eedbe7be50269 (patch)
treee2e2ba99d268e9dc5da8b56419394b800ec58da9 /tumblerd/tumbler-specialized-thumbnailer.c
parentbb8928cb7423a1634f444411d7dbc6e4ea0601ef (diff)
downloadtumbler-abcebdf3a33db65061003f923a0eedbe7be50269.tar.gz
Back to the org.freedesktop.thumbnails namespace. Use API versioning.
This is another in a series of commits aiming at synchronizing the implemented D-Bus API with the changes recently made to the spec on http://live.gnome.org/ThumbnailerSpec. We now append an API version to the D-Bus interface and object path names. We also use org.freedesktop.thumbnails.SpecializedThumbnailer for specialized thumbnailers, as we do not need to use another namespace (previously org.freedesktop.thumbnailer.Thumbnailer was used) for it.
Diffstat (limited to 'tumblerd/tumbler-specialized-thumbnailer.c')
-rw-r--r--tumblerd/tumbler-specialized-thumbnailer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index b353fc2..ca122a2 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -189,10 +189,11 @@ tumbler_specialized_thumbnailer_constructed (GObject *object)
bus_path = g_strdup_printf ("/%s", thumbnailer->name);
bus_path = g_strdelimit (bus_path, ".", '/');
- thumbnailer->proxy = dbus_g_proxy_new_for_name (thumbnailer->connection,
- thumbnailer->name,
- bus_path,
- "org.xfce.thumbnailer.Thumbnailer");
+ thumbnailer->proxy =
+ dbus_g_proxy_new_for_name (thumbnailer->connection,
+ thumbnailer->name,
+ bus_path,
+ "org.freedesktop.thumbnails.SpecializedThumbnailer1");
g_free (bus_path);