[Xfce4-commits] [apps/xfdashboard] 01/01: Add correct marshaler signature to marshal.list and usage of closure in XfdashboardSearchResultContainer::item-clicked as variants have their own type for generation by glib-genmarshal. Declaring a variant as object may cause closure assertion at some systems and item-clicked signals are not emitted anymore which then cause problems in activation in search results.

noreply at xfce.org noreply at xfce.org
Tue Oct 17 14:28:38 CEST 2017


This is an automated email from the git hooks/post-receive script.

n   o   m   a   d       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfdashboard.

commit 78c1b3d9c1bb3dce9e279e7f04a92f6257e748af
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Oct 17 14:26:13 2017 +0200

    Add correct marshaler signature to marshal.list and usage of closure in XfdashboardSearchResultContainer::item-clicked as variants have their own type for generation by glib-genmarshal. Declaring a variant as object may cause closure assertion at some systems and item-clicked signals are not emitted anymore which then cause problems in activation in search results.
---
 libxfdashboard/marshal.list              | 1 +
 libxfdashboard/search-result-container.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/libxfdashboard/marshal.list b/libxfdashboard/marshal.list
index 533335c..ca3d096 100644
--- a/libxfdashboard/marshal.list
+++ b/libxfdashboard/marshal.list
@@ -2,6 +2,7 @@ VOID:FLAGS,FLAGS
 VOID:FLOAT,FLOAT
 VOID:INT,INT
 VOID:OBJECT,OBJECT
+VOID:VARIANT,OBJECT
 VOID:OBJECT,FLOAT,FLOAT
 VOID:OBJECT,OBJECT,OBJECT
 VOID:STRING,BOOLEAN
diff --git a/libxfdashboard/search-result-container.c b/libxfdashboard/search-result-container.c
index 90d4c17..d01e42e 100644
--- a/libxfdashboard/search-result-container.c
+++ b/libxfdashboard/search-result-container.c
@@ -1346,7 +1346,7 @@ static void xfdashboard_search_result_container_class_init(XfdashboardSearchResu
 						G_STRUCT_OFFSET(XfdashboardSearchResultContainerClass, item_clicked),
 						NULL,
 						NULL,
-						_xfdashboard_marshal_VOID__OBJECT_OBJECT,
+						_xfdashboard_marshal_VOID__VARIANT_OBJECT,
 						G_TYPE_NONE,
 						2,
 						G_TYPE_VARIANT,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list