diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index 9b5973fb62..d8245a6d26 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -191,8 +191,6 @@ gdk_surface_create_cairo_context gdk_surface_queue_expose -gdk_surface_freeze_updates -gdk_surface_thaw_updates gdk_surface_get_frame_clock diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index b21c74a55d..6d7c7518b6 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -394,6 +394,10 @@ void gdk_surface_begin_move_drag (GdkSurface *surface, int y, guint32 timestamp); +void gdk_surface_freeze_updates (GdkSurface *surface); +void gdk_surface_thaw_updates (GdkSurface *surface); + + G_END_DECLS #endif /* __GDK_INTERNALS_H__ */ diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 62fc8196f6..57febdc98f 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -1429,7 +1429,7 @@ gdk_surface_queue_expose (GdkSurface *surface) cairo_region_destroy (region); } -/** +/* * gdk_surface_invalidate_region: * @surface: a #GdkSurface * @region: a #cairo_region_t @@ -1469,7 +1469,7 @@ gdk_surface_invalidate_region (GdkSurface *surface, cairo_region_destroy (visible_region); } -/** +/* * _gdk_surface_clear_update_area: * @surface: a #GdkSurface. * @@ -1490,7 +1490,7 @@ _gdk_surface_clear_update_area (GdkSurface *surface) } } -/** +/* * gdk_surface_freeze_updates: * @surface: a #GdkSurface * @@ -1510,7 +1510,7 @@ gdk_surface_freeze_updates (GdkSurface *surface) _gdk_frame_clock_uninhibit_freeze (surface->frame_clock); } -/** +/* * gdk_surface_thaw_updates: * @surface: a #GdkSurface * diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h index acd766b259..60d80558bf 100644 --- a/gdk/gdksurface.h +++ b/gdk/gdksurface.h @@ -208,11 +208,6 @@ void gdk_surface_beep (GdkSurface *surface); GDK_AVAILABLE_IN_ALL void gdk_surface_queue_expose (GdkSurface *surface); -GDK_AVAILABLE_IN_ALL -void gdk_surface_freeze_updates (GdkSurface *surface); -GDK_AVAILABLE_IN_ALL -void gdk_surface_thaw_updates (GdkSurface *surface); - GDK_AVAILABLE_IN_ALL GdkFrameClock* gdk_surface_get_frame_clock (GdkSurface *surface);