summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-10-31 02:35:21 +0100
committerBenjamin Otte <otte@redhat.com>2017-10-31 03:05:54 +0100
commit9151e0b9f521060a7792a0e73ea0a8f3e77a0f89 (patch)
tree3ed40b25b874495b5f31ecfa91bb0859ff168a97 /gtk/gtkstylecontext.h
parenta2e625692e25aa97277dd05670a2e9c49c07b3ee (diff)
downloadgtk+-9151e0b9f521060a7792a0e73ea0a8f3e77a0f89.tar.gz
stylecontext: Port to use display instead of screen
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index d50cdf36be..58da54d132 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.h
@@ -974,13 +974,13 @@ GType gtk_style_context_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GtkStyleContext * gtk_style_context_new (void);
-GDK_AVAILABLE_IN_ALL
-void gtk_style_context_add_provider_for_screen (GdkScreen *screen,
- GtkStyleProvider *provider,
- guint priority);
-GDK_AVAILABLE_IN_ALL
-void gtk_style_context_remove_provider_for_screen (GdkScreen *screen,
- GtkStyleProvider *provider);
+GDK_AVAILABLE_IN_3_94
+void gtk_style_context_add_provider_for_display (GdkDisplay *display,
+ GtkStyleProvider *provider,
+ guint priority);
+GDK_AVAILABLE_IN_3_94
+void gtk_style_context_remove_provider_for_display (GdkDisplay *display,
+ GtkStyleProvider *provider);
GDK_AVAILABLE_IN_ALL
void gtk_style_context_add_provider (GtkStyleContext *context,
@@ -1047,10 +1047,10 @@ gboolean gtk_style_context_has_class (GtkStyleContext *context,
const gchar *class_name);
GDK_AVAILABLE_IN_ALL
-void gtk_style_context_set_screen (GtkStyleContext *context,
- GdkScreen *screen);
+void gtk_style_context_set_display (GtkStyleContext *context,
+ GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
-GdkScreen * gtk_style_context_get_screen (GtkStyleContext *context);
+GdkDisplay *gtk_style_context_get_display (GtkStyleContext *context);
GDK_AVAILABLE_IN_3_8
void gtk_style_context_set_frame_clock (GtkStyleContext *context,
@@ -1085,7 +1085,7 @@ void gtk_style_context_get_margin (GtkStyleContext *context,
GtkBorder *margin);
GDK_AVAILABLE_IN_ALL
-void gtk_style_context_reset_widgets (GdkScreen *screen);
+void gtk_style_context_reset_widgets (GdkDisplay *display);
GDK_AVAILABLE_IN_3_4
void gtk_render_insertion_cursor