waylandpopup: Drop unused exports
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Jan 2023 21:00:22 +0000 (16:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 Jan 2023 21:50:20 +0000 (16:50 -0500)
gdk/wayland/gdkpopup-wayland-private.h
gdk/wayland/gdkpopup-wayland.c

index 4055aa4943ca3846dab83df7859fca2421bcbd67..396e841aef90b10bcda6f06d88af97be4511395f 100644 (file)
 #pragma once
 
 
-void update_popup_layout_state (GdkWaylandPopup *wayland_popup,
-                                int              x,
-                                int              y,
-                                int              width,
-                                int              height,
-                                GdkPopupLayout  *layout);
-
 void gdk_wayland_surface_configure_popup          (GdkWaylandPopup *popup);
 void frame_callback_popup                         (GdkWaylandPopup *popup);
 void gdk_wayland_popup_hide_surface               (GdkWaylandPopup *popup);
index 139204791e99baa52b07096bddbcdbc4dc334a9e..378a82a6413e2ff1167ef25a6e94925af8b59fb1 100644 (file)
 #include "gdksurface-wayland-private.h"
 #include "gdkpopup-wayland-private.h"
 
+static void update_popup_layout_state (GdkWaylandPopup *wayland_popup,
+                                       int              x,
+                                       int              y,
+                                       int              width,
+                                       int              height,
+                                       GdkPopupLayout  *layout);
+
 /* {{{ Utilities */
 
 static gboolean
@@ -644,7 +651,7 @@ calculate_popup_rect (GdkWaylandPopup *wayland_popup,
   };
 }
 
-void
+static void
 update_popup_layout_state (GdkWaylandPopup *wayland_popup,
                            int              x,
                            int              y,