[gtk+] gdk: Cosmetic rewording of draw context docs



commit 5ba5f2c0c03bec5dcaf92a7df41b0ac05709045f
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 26 14:10:54 2017 -0500

    gdk: Cosmetic rewording of draw context docs
    
    Avoid draw context <> drawing context confusion,
    as far as possible.

 gdk/gdkdrawcontext.c   |    2 +-
 gdk/gdkglcontext.c     |    4 ++--
 gdk/gdkvulkancontext.c |    6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/gdkdrawcontext.c b/gdk/gdkdrawcontext.c
index 401cd65..1ca7d41 100644
--- a/gdk/gdkdrawcontext.c
+++ b/gdk/gdkdrawcontext.c
@@ -28,7 +28,7 @@
 /**
  * SECTION:gdkdrawcontext
  * @Title: GdkDrawContext
- * @Short_description: Drawing context base class
+ * @Short_description: Base class for draw contexts
  *
  * #GdkDrawContext is the base object used by contexts implementing different
  * rendering methods, such as #GdkGLContext or #GdkVulkanContext. It provides
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index b0cbfdb..8d1c99d 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -21,10 +21,10 @@
 /**
  * SECTION:gdkglcontext
  * @Title: GdkGLContext
- * @Short_description: OpenGL context
+ * @Short_description: OpenGL draw context
  *
  * #GdkGLContext is an object representing the platform-specific
- * OpenGL drawing context.
+ * OpenGL draw context.
  *
  * #GdkGLContexts are created for a #GdkWindow using
  * gdk_window_create_gl_context(), and the context will match the
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index efeef93..cb14d3b 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -31,16 +31,16 @@
 /**
  * SECTION:gdkvulkancontext
  * @Title: GdkVulkanContext
- * @Short_description: Vulkan context
+ * @Short_description: Vulkan draw context
  *
  * #GdkVulkanContext is an object representing the platform-specific
- * Vulkan drawing context.
+ * Vulkan draw context.
  *
  * #GdkVulkanContexts are created for a #GdkWindow using
  * gdk_window_create_vulkan_context(), and the context will match the
  * the characteristics of the window.
  *
- * Support for #GdkGLContext is platform-specific, context creation
+ * Support for #GdkVulkanContext is platform-specific, context creation
  * can fail, returning %NULL context.
  */
 


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