[mutter] renderer/native: Remove unnecessary field and logic
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] renderer/native: Remove unnecessary field and logic
- Date: Tue, 9 Feb 2021 08:48:10 +0000 (UTC)
commit 9b8cff8673e55dc2ecb5a13ed6548984e7b84373
Author: Dor Askayo <dor askayo gmail com>
Date: Sun Feb 7 17:51:32 2021 +0200
renderer/native: Remove unnecessary field and logic
This field was never set and only ever cleared.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1715>
src/backends/native/meta-renderer-native.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index 23883fd185..dfb80b6dac 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -80,7 +80,6 @@ struct _MetaRendererNative
GList *pending_mode_set_views;
gboolean pending_mode_set;
- guint mode_set_failed_feedback_source_id;
GList *kept_alive_onscreens;
@@ -840,9 +839,6 @@ meta_renderer_native_queue_modes_reset (MetaRendererNative *renderer_native)
g_list_copy (meta_renderer_get_views (renderer));
renderer_native->pending_mode_set = TRUE;
- g_clear_handle_id (&renderer_native->mode_set_failed_feedback_source_id,
- g_source_remove);
-
meta_topic (META_DEBUG_KMS, "Queue mode set");
}
@@ -1940,8 +1936,6 @@ meta_renderer_native_finalize (GObject *object)
}
g_list_free (renderer_native->pending_mode_set_views);
- g_clear_handle_id (&renderer_native->mode_set_failed_feedback_source_id,
- g_source_remove);
g_hash_table_destroy (renderer_native->gpu_datas);
g_clear_object (&renderer_native->gles3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]