diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-03-25 09:20:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-03-25 10:14:35 -0400 |
commit | b23ac5c8da31f0312a10ffb88117a46780979c1b (patch) | |
tree | f7ebf7f4a8a69da332df218a2a1ffea733e5196d /tests | |
parent | 81e61b9abfe39444b1a2ea7ea95cdc607974d711 (diff) | |
download | gtk+-b23ac5c8da31f0312a10ffb88117a46780979c1b.tar.gz |
Deprecate gtk_widget_translate_coordinates
Update all (non-deprecated) callers to use
gtk_widget_compute_point instead.
Fixes: #5697
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testoverlay.c | 2 | ||||
-rw-r--r-- | tests/testwidgettransforms.c | 2 | ||||
-rw-r--r-- | tests/testwindowdrag.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/testoverlay.c b/tests/testoverlay.c index 83c551998f..b7e91335ce 100644 --- a/tests/testoverlay.c +++ b/tests/testoverlay.c @@ -1,6 +1,8 @@ #include <string.h> #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static const char *css = ".overlay-green {" " background-image: none;" diff --git a/tests/testwidgettransforms.c b/tests/testwidgettransforms.c index c729768589..dc6232968f 100644 --- a/tests/testwidgettransforms.c +++ b/tests/testwidgettransforms.c @@ -2,6 +2,8 @@ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static const char *css = "test>button {" " all: unset; " diff --git a/tests/testwindowdrag.c b/tests/testwindowdrag.c index 8b60835165..8946603e1d 100644 --- a/tests/testwindowdrag.c +++ b/tests/testwindowdrag.c @@ -1,5 +1,7 @@ #include <gtk/gtk.h> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static void start_resize (GtkGestureClick *gesture, int n_press, |