[gtk/global-coords: 20/37] gtk-demo: Stop using gtk_window_set_position



commit 4f9c1bf14eb6012ad565550663ba350c5bbbceca
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 29 05:33:39 2019 +0000

    gtk-demo: Stop using gtk_window_set_position
    
    This api is going away.

 demos/gtk-demo/changedisplay.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index 3b8f894371..57e911c45f 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -105,7 +105,6 @@ query_for_toplevel (GdkDisplay *display,
   popup = gtk_window_new (GTK_WINDOW_POPUP);
   gtk_window_set_display (GTK_WINDOW (popup), display);
   gtk_window_set_modal (GTK_WINDOW (popup), TRUE);
-  gtk_window_set_position (GTK_WINDOW (popup), GTK_WIN_POS_CENTER);
 
   frame = gtk_frame_new (NULL);
   gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);


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