git: 259a246b02a8 - main - x11-toolkits/gtk-layer-shell: silence gtk3 warning after abb70beec9b9

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 26 Aug 2022 22:22:32 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=259a246b02a8b1c038528b6dd159c2185f18bad7

commit 259a246b02a8b1c038528b6dd159c2185f18bad7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-08-26 22:13:11 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-08-26 22:16:33 +0000

    x11-toolkits/gtk-layer-shell: silence gtk3 warning after abb70beec9b9
    
    $ swaync
    [...]
    ** (swaync:1234): WARNING **: gtk-layer-shell v0.7.0 may not work on GTK v3.24.34. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
---
 x11-toolkits/gtk-layer-shell/files/patch-gtk-priv | 50 ++++++++++++++---------
 1 file changed, 30 insertions(+), 20 deletions(-)

diff --git a/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv b/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv
index 15da0a925f71..64d6f027c3fd 100644
--- a/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv
+++ b/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv
@@ -7,16 +7,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWaylandPointerData_v3_22_0
  {
    GdkWindow *focus;
-@@ -126,6 +126,8 @@ int gdk_wayland_pointer_data_priv_get_version_id() {
+@@ -126,6 +126,9 @@ int gdk_wayland_pointer_data_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -27,16 +28,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWaylandPointerFrameData_v3_22_0
  {
    GdkEvent *event;
-@@ -116,6 +116,8 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id
+@@ -116,6 +116,9 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -47,16 +49,17 @@ Regenerate according to gtk-priv/README.md
  // +   struct gtk_primary_selection_device *gtk_primary_data_device;
  // +   struct zwp_primary_selection_device_v1 *zwp_primary_data_device_v1;
 -// Valid for GTK v3.24.24 - v3.24.32 (unreleased)
-+// Valid for GTK v3.24.24 - v3.24.34 (unreleased)
++// Valid for GTK v3.24.24 - v3.24.35 (unreleased)
  struct _GdkWaylandSeat_v3_24_24
  {
    GdkSeat parent_instance;
-@@ -341,6 +341,8 @@ int gdk_wayland_seat_priv_get_version_id() {
+@@ -341,6 +341,9 @@ int gdk_wayland_seat_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -67,16 +70,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWaylandTabletData_v3_22_0
  {
    struct zwp_tablet_v2 *wp_tablet;
-@@ -124,6 +124,8 @@ int gdk_wayland_tablet_data_priv_get_version_id() {
+@@ -124,6 +124,9 @@ int gdk_wayland_tablet_data_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -87,16 +91,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWaylandTouchData_v3_22_0
  {
    uint32_t id;
-@@ -115,6 +115,8 @@ int gdk_wayland_touch_data_priv_get_version_id() {
+@@ -115,6 +115,9 @@ int gdk_wayland_touch_data_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -107,16 +112,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWindowImplClass_v3_22_0
  {
    GObjectClass parent_class;
-@@ -201,6 +201,8 @@ int gdk_window_impl_class_priv_get_version_id() {
+@@ -201,6 +201,9 @@ int gdk_window_impl_class_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -127,16 +133,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWindowImpl_v3_22_0
  {
    GObject parent;
-@@ -110,6 +110,8 @@ int gdk_window_impl_priv_get_version_id() {
+@@ -110,6 +110,9 @@ int gdk_window_impl_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -147,16 +154,17 @@ Regenerate according to gtk-priv/README.md
  
  // Version ID 0
 -// Valid for GTK v3.22.0 - v3.24.32 (unreleased)
-+// Valid for GTK v3.22.0 - v3.24.34 (unreleased)
++// Valid for GTK v3.22.0 - v3.24.35 (unreleased)
  struct _GdkWindowImplWaylandClass_v3_22_0
  {
    struct _GdkWindowImplClass_v3_22_0 parent_class;
-@@ -110,6 +110,8 @@ int gdk_window_impl_wayland_class_priv_get_version_id(
+@@ -110,6 +110,9 @@ int gdk_window_impl_wayland_class_priv_get_version_id(
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -167,16 +175,17 @@ Regenerate according to gtk-priv/README.md
  // +   struct wl_callback *surface_callback;
  // +   GHashTable *frame_callback_surfaces;
 -// Valid for GTK v3.24.25 - v3.24.32 (unreleased)
-+// Valid for GTK v3.24.25 - v3.24.34 (unreleased)
++// Valid for GTK v3.24.25 - v3.24.35 (unreleased)
  struct _GdkWindowImplWayland_v3_24_25
  {
    struct _GdkWindowImpl_v3_22_0 parent_instance;
-@@ -1161,6 +1161,8 @@ int gdk_window_impl_wayland_priv_get_version_id() {
+@@ -1161,6 +1161,9 @@ int gdk_window_impl_wayland_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default:
@@ -187,16 +196,17 @@ Regenerate according to gtk-priv/README.md
  // +   guint synthesized_crossing_event_id;
  // -   guint synthesize_crossing_event_queued : 1;
 -// Valid for GTK v3.24.11 - v3.24.32 (unreleased)
-+// Valid for GTK v3.24.11 - v3.24.34 (unreleased)
++// Valid for GTK v3.24.11 - v3.24.35 (unreleased)
  struct _GdkWindow_v3_24_11
  {
    GObject parent_instance;
-@@ -365,6 +365,8 @@ int gdk_window_priv_get_version_id() {
+@@ -365,6 +365,9 @@ int gdk_window_priv_get_version_id() {
        case 24029:
        case 24030:
        case 24031:
 +      case 24032:
 +      case 24033:
++      case 24034:
          break;
    
        default: