[gtk/present-toplevel: 34/54] x11: Stop using gdk_surface_set_title



commit 9b20973f1241c089869905414deac3abbe824de8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 1 12:23:10 2020 -0500

    x11: Stop using gdk_surface_set_title

 gdk/x11/gdksurface-x11.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 7bdf06bfa4..b7099cb522 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -792,6 +792,9 @@ disconnect_frame_clock (GdkSurface *surface)
     }
 }
 
+static void gdk_x11_surface_set_title (GdkSurface *surface,
+                                       const char *title);
+
 GdkSurface *
 _gdk_x11_display_create_surface (GdkDisplay     *display,
                                  GdkSurfaceType  surface_type,
@@ -909,7 +912,7 @@ _gdk_x11_display_create_surface (GdkDisplay     *display,
   g_object_ref (surface);
   _gdk_x11_display_add_window (x11_screen->display, &impl->xid, surface);
 
-  gdk_surface_set_title (surface, get_default_title ());
+  gdk_x11_surface_set_title (surface, get_default_title ());
 
   class_hint = XAllocClassHint ();
   class_hint->res_name = (char *) g_get_prgname ();


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