summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-08-29 14:39:48 +0200
committerCarlos Soriano <csoriano@gnome.org>2016-08-29 15:01:12 +0200
commitcfe4c9e0f41e37eb1d4e469c20579337b501e385 (patch)
tree4c8d6b9730648d02454525748779c0802a453a1a
parenta0ff0de6a5e72f221c34112c952eea0eac94c870 (diff)
downloadgtk+-cfe4c9e0f41e37eb1d4e469c20579337b501e385.tar.gz
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
-rw-r--r--gtk/gtkplacessidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 70f5e5e3e7..3f1f8101f6 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4391,7 +4391,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);