places sidebar: Use the right marshallers

We are passing the mount operation as argument, so use
a marshaller that expects an object argument.
This commit is contained in:
Matthias Clasen 2016-02-16 19:20:22 -05:00
parent b8e2ebb840
commit da47ceb4c0

View File

@ -4347,7 +4347,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkPlacesSidebarClass, mount), G_STRUCT_OFFSET (GtkPlacesSidebarClass, mount),
NULL, NULL, NULL, NULL,
_gtk_marshal_VOID__VOID, _gtk_marshal_VOID__OBJECT,
G_TYPE_NONE, G_TYPE_NONE,
1, 1,
G_TYPE_MOUNT_OPERATION); G_TYPE_MOUNT_OPERATION);
@ -4369,7 +4369,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkPlacesSidebarClass, unmount), G_STRUCT_OFFSET (GtkPlacesSidebarClass, unmount),
NULL, NULL, NULL, NULL,
_gtk_marshal_VOID__VOID, _gtk_marshal_VOID__OBJECT,
G_TYPE_NONE, G_TYPE_NONE,
1, 1,
G_TYPE_MOUNT_OPERATION); G_TYPE_MOUNT_OPERATION);