diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-03-05 10:10:29 -0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-12 14:56:20 -0400 |
commit | a79b6fbf359da1537fd83d8d9b5874a3e5ade608 (patch) | |
tree | eb95c18669d5c942b5ba2d77353dcb6f39e1b10d /tests/testgtk.c | |
parent | 496bd5783c8b54c13d33a30a5b5c906148082ea5 (diff) | |
download | gtk+-a79b6fbf359da1537fd83d8d9b5874a3e5ade608.tar.gz |
testgtk: Stop setting decorations and functions
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 67f649b1aa..7079fde769 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -4651,7 +4651,6 @@ create_wmhints (GtkWidget *widget) GtkWidget *button; GtkWidget *box1; GtkWidget *box2; - GdkSurface *gdk_surface; GdkPixbuf *pixbuf; GdkTexture *texture; GList *list; @@ -4671,8 +4670,6 @@ create_wmhints (GtkWidget *widget) gtk_widget_realize (window); - gdk_surface = gtk_native_get_surface (GTK_NATIVE (window)); - pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) openfile); texture = gdk_texture_new_for_pixbuf (pixbuf); @@ -4682,9 +4679,6 @@ create_wmhints (GtkWidget *widget) g_object_unref (texture); g_object_unref (pixbuf); - gdk_surface_set_decorations (gdk_surface, GDK_DECOR_ALL | GDK_DECOR_MENU); - gdk_surface_set_functions (gdk_surface, GDK_FUNC_ALL | GDK_FUNC_RESIZE); - box1 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (window), box1); gtk_widget_show (box1); |