[gtk+] inspector: Remove leftover GDK_PRIVATE_CALL()s
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Remove leftover GDK_PRIVATE_CALL()s
- Date: Thu, 24 Nov 2016 14:42:00 +0000 (UTC)
commit d7876bde74d0115c2ec28a2676f482d479228223
Author: Benjamin Otte <otte redhat com>
Date: Thu Nov 24 15:41:19 2016 +0100
inspector: Remove leftover GDK_PRIVATE_CALL()s
gtk/inspector/visual.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/inspector/visual.c b/gtk/inspector/visual.c
index b63dcbc..718043a 100644
--- a/gtk/inspector/visual.c
+++ b/gtk/inspector/visual.c
@@ -777,7 +777,7 @@ init_gl (GtkInspectorVisual *vis)
{
GdkGLFlags flags;
- flags = GDK_PRIVATE_CALL (gdk_gl_get_flags) ();
+ flags = gdk_gl_get_flags ();
if (flags & GDK_GL_ALWAYS)
gtk_combo_box_set_active_id (GTK_COMBO_BOX (vis->priv->gl_combo), "always");
@@ -812,7 +812,7 @@ init_rendering_mode (GtkInspectorVisual *vis)
{
GdkRenderingMode mode;
- mode = GDK_PRIVATE_CALL (gdk_display_get_rendering_mode) (gdk_display_get_default ());
+ mode = gdk_display_get_rendering_mode (gdk_display_get_default ());
gtk_combo_box_set_active (GTK_COMBO_BOX (vis->priv->rendering_mode_combo), mode);
}
@@ -823,7 +823,7 @@ rendering_mode_changed (GtkComboBox *c,
GdkRenderingMode mode;
mode = gtk_combo_box_get_active (c);
- GDK_PRIVATE_CALL (gdk_display_set_rendering_mode) (gdk_display_get_default (), mode);
+ gdk_display_set_rendering_mode (gdk_display_get_default (), mode);
}
static void
@@ -832,14 +832,14 @@ update_gl_flag (GtkSwitch *sw,
{
GdkGLFlags flags;
- flags = GDK_PRIVATE_CALL (gdk_gl_get_flags) ();
+ flags = gdk_gl_get_flags ();
if (gtk_switch_get_active (sw))
flags |= flag;
else
flags &= ~flag;
- GDK_PRIVATE_CALL (gdk_gl_set_flags) (flags);
+ gdk_gl_set_flags (flags);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]