[gnome-remote-desktop] session-rdp: Remove get_framebuffer_stride()
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] session-rdp: Remove get_framebuffer_stride()
- Date: Fri, 3 Sep 2021 09:34:41 +0000 (UTC)
commit 74ad74818fbe7d978132b9400fd82091d81fb8fd
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Mon Dec 21 21:01:38 2020 +0100
session-rdp: Remove get_framebuffer_stride()
It is now unused and won't be needed any more.
src/grd-session-rdp.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/src/grd-session-rdp.c b/src/grd-session-rdp.c
index 61244e8..6f82ff2 100644
--- a/src/grd-session-rdp.c
+++ b/src/grd-session-rdp.c
@@ -225,15 +225,6 @@ grd_session_rdp_resize_framebuffer (GrdSessionRdp *session_rdp,
set_rdp_peer_flag (rdp_peer_context, RDP_PEER_ALL_SURFACES_INVALID);
}
-static int
-grd_session_rdp_get_framebuffer_stride (GrdSessionRdp *session_rdp)
-{
- rdpSettings *rdp_settings = session_rdp->peer->settings;
-
- return grd_session_rdp_get_stride_for_width (session_rdp,
- rdp_settings->DesktopWidth);
-}
-
void
grd_session_rdp_take_buffer (GrdSessionRdp *session_rdp,
void *data,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]