[gtk+] Remove the last uses of GDK_DISPLAY_OBJECT



commit e041345fcbd7b45ff8f9a2eb75b0e4c6bbc56f11
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 25 16:01:50 2016 -0400

    Remove the last uses of GDK_DISPLAY_OBJECT
    
    This is an obsolete macro.

 gdk/broadway/gdkdisplay-broadway.c |    2 +-
 gdk/wayland/gdkdisplay-wayland.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/broadway/gdkdisplay-broadway.c b/gdk/broadway/gdkdisplay-broadway.c
index f6d4aa1..3b7d718 100644
--- a/gdk/broadway/gdkdisplay-broadway.c
+++ b/gdk/broadway/gdkdisplay-broadway.c
@@ -201,7 +201,7 @@ gdk_broadway_display_finalize (GObject *object)
   if (broadway_display->keymap)
     g_object_unref (broadway_display->keymap);
 
-  _gdk_broadway_cursor_display_finalize (GDK_DISPLAY_OBJECT(broadway_display));
+  _gdk_broadway_cursor_display_finalize (GDK_DISPLAY(broadway_display));
 
   /* Free all GdkScreens */
   g_object_unref (broadway_display->screens[0]);
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index e9970e6..9cdb955 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -207,7 +207,7 @@ _gdk_wayland_display_add_seat (GdkWaylandDisplay *display_wayland,
                                uint32_t id,
                                uint32_t version)
 {
-  GdkDisplay *gdk_display = GDK_DISPLAY_OBJECT (display_wayland);
+  GdkDisplay *gdk_display = GDK_DISPLAY (display_wayland);
   struct wl_seat *seat;
 
   display_wayland->seat_version = MIN (version, 5);


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