From 3d881752bf64990edcb222f07f9920c55d587d3f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 25 Sep 2020 15:52:15 -0400 Subject: [PATCH 1/2] gl: Make debug spew more complete List GL_EXT_unpack_subimage among the extensions we check for. --- gdk/gdkglcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c index 7f544dc003..7a7ed9d96f 100644 --- a/gdk/gdkglcontext.c +++ b/gdk/gdkglcontext.c @@ -1067,6 +1067,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context) " - GL_ARB_texture_non_power_of_two: %s\n" " - GL_ARB_texture_rectangle: %s\n" " - GL_KHR_debug: %s\n" + " - GL_EXT_unpack_subimage: %s\n" "* Using texture rectangle: %s", priv->use_es ? "OpenGL ES" : "OpenGL", priv->gl_version / 10, priv->gl_version % 10, @@ -1075,6 +1076,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context) has_npot ? "yes" : "no", has_texture_rectangle ? "yes" : "no", priv->has_khr_debug ? "yes" : "no", + priv->has_unpack_subimage ? "yes" : "no", priv->use_texture_rectangle ? "yes" : "no")); priv->extensions_checked = TRUE; From 6cdbf1a3525cd927dc9906c16dae8259916d8d14 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 25 Sep 2020 20:43:01 -0400 Subject: [PATCH 2/2] popup: Fix up a doc blurb The GdkPopup:autohide property was mis-documented. Fixes: #3197 --- gdk/gdkpopup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkpopup.c b/gdk/gdkpopup.c index 735567fc32..91772d3c18 100644 --- a/gdk/gdkpopup.c +++ b/gdk/gdkpopup.c @@ -94,7 +94,7 @@ gdk_popup_default_init (GdkPopupInterface *iface) g_object_interface_install_property (iface, g_param_spec_boolean ("autohide", P_("Autohide"), - P_("The parent surface"), + P_("Whether to hide on outside clicks"), FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));