diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-17 21:08:38 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 20:25:15 +0000 |
commit | 18788c2a860f4779757633a4d44babd2cc4f9e2c (patch) | |
tree | e55f09ef3b28b16b751976dd33ca8507017c3024 /tests | |
parent | db855e092d0fcbb49b9b44b2c4497cc89a596215 (diff) | |
download | gtk+-18788c2a860f4779757633a4d44babd2cc4f9e2c.tar.gz |
Remove gtk_widget_get/set_has_surface
These serve no purpose anymore - widgets don't
have surfaces, unless they're a GtkNative.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/showrendernode.c | 1 | ||||
-rw-r--r-- | tests/testtexture.c | 1 | ||||
-rw-r--r-- | tests/testwidgetfocus.c | 2 | ||||
-rw-r--r-- | tests/testwidgettransforms.c | 3 |
4 files changed, 0 insertions, 7 deletions
diff --git a/tests/showrendernode.c b/tests/showrendernode.c index c05988c07d..6ea4ba1d5d 100644 --- a/tests/showrendernode.c +++ b/tests/showrendernode.c @@ -93,7 +93,6 @@ gtk_node_view_finalize (GObject *object) static void gtk_node_view_init (GtkNodeView *self) { - gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE); } static void diff --git a/tests/testtexture.c b/tests/testtexture.c index be8400d978..3fe7dc358f 100644 --- a/tests/testtexture.c +++ b/tests/testtexture.c @@ -86,7 +86,6 @@ gtk_texture_view_finalize (GObject *object) static void gtk_texture_view_init (GtkTextureView *self) { - gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE); } static void diff --git a/tests/testwidgetfocus.c b/tests/testwidgetfocus.c index 323050e461..0ee9e7903c 100644 --- a/tests/testwidgetfocus.c +++ b/tests/testwidgetfocus.c @@ -232,8 +232,6 @@ gtk_focus_widget_init (GtkFocusWidget *self) { GtkEventController *controller; - gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE); - self->child1 = gtk_button_new_with_label ("1"); gtk_widget_set_parent (self->child1, GTK_WIDGET (self)); self->child2 = gtk_button_new_with_label ("2"); diff --git a/tests/testwidgettransforms.c b/tests/testwidgettransforms.c index 91ac1d0d15..62c99b994a 100644 --- a/tests/testwidgettransforms.c +++ b/tests/testwidgettransforms.c @@ -50,7 +50,6 @@ G_DEFINE_TYPE (GtkMatrixChooser, gtk_matrix_chooser, GTK_TYPE_WIDGET) static void gtk_matrix_chooser_init (GtkMatrixChooser *self) { - gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE); } static void @@ -237,8 +236,6 @@ gtk_transform_tester_snapshot (GtkWidget *widget, static void gtk_transform_tester_init (GtkTransformTester *self) { - gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE); - self->pick_increase = 4; } |