summaryrefslogtreecommitdiff
path: root/gdk/gdkpango.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-03-31 21:33:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-04-18 07:04:44 -0400
commit117c0c0aea19b97aa93e8774fd72072fe8888343 (patch)
tree13bdc7a63a947d7457438b35405df966673bbf62 /gdk/gdkpango.h
parent07f124e92dfbe384e0ca2163cc71db0386bf55f2 (diff)
downloadgtk+-117c0c0aea19b97aa93e8774fd72072fe8888343.tar.gz
Add gdk_pango_context_get_for_display
This is the obvious 1 line equivalent of the for_screen function.
Diffstat (limited to 'gdk/gdkpango.h')
-rw-r--r--gdk/gdkpango.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkpango.h b/gdk/gdkpango.h
index af2abf404b..01bdc687cb 100644
--- a/gdk/gdkpango.h
+++ b/gdk/gdkpango.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
GDK_AVAILABLE_IN_ALL
PangoContext *gdk_pango_context_get_for_screen (GdkScreen *screen);
+GDK_AVAILABLE_IN_3_22
+PangoContext *gdk_pango_context_get_for_display (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
PangoContext *gdk_pango_context_get (void);