[feat] show actuall device name instate of ip address in notification
This commit is contained in:
@@ -112,7 +112,7 @@ void teleport_peer_remove_peer (TeleportPeer *self, Peer *device)
|
||||
g_signal_emit (self, signalIds[REMOVE], 0, device);
|
||||
}
|
||||
|
||||
void teleport_peer_remove_peer_by_name (TeleportPeer *self, gchar *name)
|
||||
void teleport_peer_remove_peer_by_name (TeleportPeer *self, const gchar *name)
|
||||
{
|
||||
Peer *element = NULL;
|
||||
gboolean found = FALSE;
|
||||
@@ -128,7 +128,7 @@ void teleport_peer_remove_peer_by_name (TeleportPeer *self, gchar *name)
|
||||
}
|
||||
|
||||
gchar *
|
||||
teleport_peer_get_name_by_addr (TeleportPeer *self, gchar *addr)
|
||||
teleport_peer_get_name_by_addr (TeleportPeer *self, const gchar *addr)
|
||||
{
|
||||
Peer *element = NULL;
|
||||
gchar *name = NULL;
|
||||
|
||||
Reference in New Issue
Block a user