[mutter] backends: Silence a couple of gtk-doc warnings



commit b448ced8e4c5f1e8560bdbcd4166b5b5c1f9c17c
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Tue Jan 8 09:06:11 2019 +0100

    backends: Silence a couple of gtk-doc warnings
    
    A lot of fancy gtk-doc documentation was added, but they had a couple of
    issues: invalid return value annotations and wrong documented function
    name.

 src/backends/meta-monitor-manager.c | 2 +-
 src/backends/meta-renderer.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 919ac3b52..131a5cf6f 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -2580,7 +2580,7 @@ meta_monitor_manager_get_monitors (MetaMonitorManager *manager)
 }
 
 /**
- * meta_monitor_manager_get_capabilities:
+ * meta_monitor_manager_add_gpu:
  * @manager: A #MetaMonitorManager object
  *
  * Should only be called by subclasses. Adds a #MetaGpu to the internal list of
diff --git a/src/backends/meta-renderer.c b/src/backends/meta-renderer.c
index 55ada2e95..85d3984ed 100644
--- a/src/backends/meta-renderer.c
+++ b/src/backends/meta-renderer.c
@@ -131,7 +131,7 @@ meta_renderer_set_legacy_view (MetaRenderer     *renderer,
  * Returns a list of #MetaRendererView objects, each dealing with a part of the
  * stage.
  *
- * Returns: (transfer-none) (element-type MetaRendererView): a list of
+ * Returns: (transfer none) (element-type MetaRendererView): a list of
  * #MetaRendererView objects.
  */
 GList *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]