[Xfce4-commits] <tumbler:master> Register marshallers for specialized thumbnailer signals.

Jannis Pohlmann noreply at xfce.org
Mon Oct 5 15:32:01 CEST 2009


Updating branch refs/heads/master
         to b5d3d3e7c7578883a6be766a6ec7cdda18b294c5 (commit)
       from 88bd699be2ce252010a93cb2e327d0395b2aaab6 (commit)

commit b5d3d3e7c7578883a6be766a6ec7cdda18b294c5
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Oct 5 15:31:13 2009 +0200

    Register marshallers for specialized thumbnailer signals.

 tumbler/tumbler-marshal.list               |    1 +
 tumblerd/tumbler-specialized-thumbnailer.c |   12 ++++++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/tumbler/tumbler-marshal.list b/tumbler/tumbler-marshal.list
index 0d17170..f5f6213 100644
--- a/tumbler/tumbler-marshal.list
+++ b/tumbler/tumbler-marshal.list
@@ -1,2 +1,3 @@
 VOID:STRING,INT,STRING
 VOID:UINT,POINTER,INT,STRING
+VOID:STRING,INT,STRING
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index f4734d9..02960ae 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -192,6 +192,18 @@ tumbler_specialized_thumbnailer_constructed (GObject *object)
 
   g_free (bus_path);
 
+  dbus_g_object_register_marshaller (g_cclosure_marshal_VOID__STRING,
+                                     G_TYPE_NONE, 
+                                     G_TYPE_STRING,
+                                     G_TYPE_INVALID);
+  
+  dbus_g_object_register_marshaller (tumbler_marshal_VOID__STRING_INT_STRING,
+                                     G_TYPE_NONE,
+                                     G_TYPE_STRING,
+                                     G_TYPE_INT,
+                                     G_TYPE_STRING,
+                                     G_TYPE_INVALID);
+
   dbus_g_proxy_add_signal (thumbnailer->proxy, "Ready", 
                            G_TYPE_STRING, G_TYPE_INVALID);
 



More information about the Xfce4-commits mailing list