refactor: make PortalRemoteDesktop:handleSessionOwnerChanged a const
This commit is contained in:
parent
710aae5f3f
commit
a42b6cf897
2 changed files with 2 additions and 2 deletions
|
|
@ -245,7 +245,7 @@ void PortalRemoteDesktop::handleSelectionTransfer(XdpSession *session, const cha
|
|||
#endif
|
||||
}
|
||||
|
||||
void PortalRemoteDesktop::handleSelectionOwnerChanged(XdpSession *session, char **mimeTypes, gboolean isOwner)
|
||||
void PortalRemoteDesktop::handleSelectionOwnerChanged(XdpSession *session, char **mimeTypes, gboolean isOwner) const
|
||||
{
|
||||
#ifdef HAVE_LIBPORTAL_CLIPBOARD
|
||||
if (isOwner) {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ private:
|
|||
void handleSessionStarted(GObject *object, GAsyncResult *res);
|
||||
void handleSessionClosed(XdpSession *session);
|
||||
void handleSelectionTransfer(XdpSession *session, const char *mimeType, uint32_t serial);
|
||||
void handleSelectionOwnerChanged(XdpSession *session, char **mimeTypes, gboolean isOwner);
|
||||
void handleSelectionOwnerChanged(XdpSession *session, char **mimeTypes, gboolean isOwner) const;
|
||||
void reconnect(unsigned int timeout = 1000);
|
||||
|
||||
static void handleSessionClosedCallback(XdpSession *session, gpointer data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue