[gtk+/gtk-3-20] gtkplacessidebar: fix signal marshal
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] gtkplacessidebar: fix signal marshal
- Date: Mon, 29 Aug 2016 13:40:00 +0000 (UTC)
commit 24c25d44a57450a95086ed1399fe4a5681c8266f
Author: Carlos Soriano <csoriano gnome org>
Date: Mon Aug 29 14:39:48 2016 +0200
gtkplacessidebar: fix signal marshal
We were using __VOID for the SHOW_OTHER_LOCATION signal that
uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS.
However, if a signal uses flags the marshal needs to use __FLAGS.
This patch addresses this using VOID__FLAGS as the marshaler parameter.
Thanks to Jan Steffens for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=770550
gtk/gtkplacessidebar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 309cc58..c4e5afd 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4392,7 +4392,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkPlacesSidebarClass, show_other_locations_with_flags),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ _gtk_marshal_VOID__FLAGS,
G_TYPE_NONE, 1,
GTK_TYPE_PLACES_OPEN_FLAGS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]