Skip to content

session: Emit "closed" signal without arguments

The D-Bus interface doesn't specify any arguments for the "closed" signal. GDBus generates the following signal code:

  XDP_IMPL__SESSION_SIGNALS[XDP_IMPL__SESSION_CLOSED] =
    g_signal_new ("closed",
      G_TYPE_FROM_INTERFACE (iface),
      G_SIGNAL_RUN_LAST,
      G_STRUCT_OFFSET (XdpImplSessionIface, closed),
      NULL,
      NULL,
      xdp_impl_session_signal_marshal_closed,
      G_TYPE_NONE,
      0);

Which clearly doesn't have any arguments.

Remove the GVariant argument from the g_signal_emit_by_name() call.

Closes: #15 (closed)

Merge request reports