[Xfce4-commits] [xfce/tumbler] 09/11: Pass &s to g_variant_get to get only a pointer to the serialised data.
noreply at xfce.org
noreply at xfce.org
Mon May 15 13:20:37 CEST 2017
This is an automated email from the git hooks/post-receive script.
ali pushed a commit to branch master
in repository xfce/tumbler.
commit 8b048c5d48673b51860a546608e3b4c6a5dae23c
Author: Ali Abdallah <aliovx at gmail.com>
Date: Sun Nov 1 21:40:18 2015 +0100
Pass &s to g_variant_get to get only a pointer to the serialised
data.
---
tumblerd/tumbler-specialized-thumbnailer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index 72d8480..8db164a 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -351,7 +351,7 @@ thumbnailer_proxy_g_signal_cb (GDBusProxy *proxy,
if (g_variant_is_of_type (parameters, G_VARIANT_TYPE ("(us)")))
{
const gchar *uri;
- g_variant_get (parameters, "(us)", &handle, &uri);
+ g_variant_get (parameters, "(u&s)", &handle, &uri);
if (info->handle == handle)
{
g_signal_emit_by_name (info->thumbnailer, "ready", uri);
@@ -365,7 +365,7 @@ thumbnailer_proxy_g_signal_cb (GDBusProxy *proxy,
const gchar *uri, *error_msg;
gint error_code;
- g_variant_get (parameters, "(&usis)", &handle, &uri, &error_code, &error_msg);
+ g_variant_get (parameters, "(u&si&s)", &handle, &uri, &error_code, &error_msg);
if (info->handle == handle)
{
g_signal_emit_by_name (info->thumbnailer, "error", uri, error_code, error_msg);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list