[gnome-remote-desktop] context: Remove unused methods
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] context: Remove unused methods
- Date: Mon, 25 Apr 2022 19:36:36 +0000 (UTC)
commit 3a5bf7bfece83334d6af762f6e7c16d669c6f47c
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Sun Apr 24 09:31:48 2022 +0200
context: Remove unused methods
Looks like I have stumbled upon some ancient artifacts.
src/grd-context.c | 10 ----------
src/grd-context.h | 4 ----
2 files changed, 14 deletions(-)
---
diff --git a/src/grd-context.c b/src/grd-context.c
index fd62ec97..3a3c18ad 100644
--- a/src/grd-context.c
+++ b/src/grd-context.c
@@ -37,8 +37,6 @@ struct _GrdContext
{
GObject parent;
- GMainContext *main_context;
-
GrdDBusRemoteDesktop *remote_desktop_proxy;
GrdDBusScreenCast *screen_cast_proxy;
@@ -79,12 +77,6 @@ grd_context_set_screen_cast_proxy (GrdContext *context,
context->screen_cast_proxy = proxy;
}
-GMainContext *
-grd_context_get_main_context (GrdContext *context)
-{
- return context->main_context;
-}
-
GrdSettings *
grd_context_get_settings (GrdContext *context)
{
@@ -136,8 +128,6 @@ grd_context_init (GrdContext *context)
{
g_autoptr (GError) error = NULL;
- context->main_context = g_main_context_default ();
-
init_debug_flags (context);
context->settings = g_object_new (GRD_TYPE_SETTINGS, NULL);
diff --git a/src/grd-context.h b/src/grd-context.h
index d94d8054..a5a9f036 100644
--- a/src/grd-context.h
+++ b/src/grd-context.h
@@ -49,10 +49,6 @@ void grd_context_set_remote_desktop_proxy (GrdContext *context,
void grd_context_set_screen_cast_proxy (GrdContext *context,
GrdDBusScreenCast *proxy);
-GrdPipeWireStreamMonitor *grd_context_get_pipewire_stream_monitor (GrdContext *context);
-
-GMainContext *grd_context_get_main_context (GrdContext *context);
-
GrdSettings * grd_context_get_settings (GrdContext *context);
GrdEglThread * grd_context_get_egl_thread (GrdContext *context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]