forked from AuroraMiddleware/gtk
gdk: Stop exporting gdk_surface_freeze_updates
The only legitimate use for freezing the frame clock is in GDK backends. Exporting this function for applications makes no sense.
This commit is contained in:
parent
9722bb4d9e
commit
c1eedf6845
@ -191,8 +191,6 @@ gdk_surface_create_cairo_context
|
|||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
gdk_surface_queue_expose
|
gdk_surface_queue_expose
|
||||||
gdk_surface_freeze_updates
|
|
||||||
gdk_surface_thaw_updates
|
|
||||||
gdk_surface_get_frame_clock
|
gdk_surface_get_frame_clock
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
|
@ -394,6 +394,10 @@ void gdk_surface_begin_move_drag (GdkSurface *surface,
|
|||||||
int y,
|
int y,
|
||||||
guint32 timestamp);
|
guint32 timestamp);
|
||||||
|
|
||||||
|
void gdk_surface_freeze_updates (GdkSurface *surface);
|
||||||
|
void gdk_surface_thaw_updates (GdkSurface *surface);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GDK_INTERNALS_H__ */
|
#endif /* __GDK_INTERNALS_H__ */
|
||||||
|
@ -1429,7 +1429,7 @@ gdk_surface_queue_expose (GdkSurface *surface)
|
|||||||
cairo_region_destroy (region);
|
cairo_region_destroy (region);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* gdk_surface_invalidate_region:
|
* gdk_surface_invalidate_region:
|
||||||
* @surface: a #GdkSurface
|
* @surface: a #GdkSurface
|
||||||
* @region: a #cairo_region_t
|
* @region: a #cairo_region_t
|
||||||
@ -1469,7 +1469,7 @@ gdk_surface_invalidate_region (GdkSurface *surface,
|
|||||||
cairo_region_destroy (visible_region);
|
cairo_region_destroy (visible_region);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* _gdk_surface_clear_update_area:
|
* _gdk_surface_clear_update_area:
|
||||||
* @surface: a #GdkSurface.
|
* @surface: a #GdkSurface.
|
||||||
*
|
*
|
||||||
@ -1490,7 +1490,7 @@ _gdk_surface_clear_update_area (GdkSurface *surface)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* gdk_surface_freeze_updates:
|
* gdk_surface_freeze_updates:
|
||||||
* @surface: a #GdkSurface
|
* @surface: a #GdkSurface
|
||||||
*
|
*
|
||||||
@ -1510,7 +1510,7 @@ gdk_surface_freeze_updates (GdkSurface *surface)
|
|||||||
_gdk_frame_clock_uninhibit_freeze (surface->frame_clock);
|
_gdk_frame_clock_uninhibit_freeze (surface->frame_clock);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* gdk_surface_thaw_updates:
|
* gdk_surface_thaw_updates:
|
||||||
* @surface: a #GdkSurface
|
* @surface: a #GdkSurface
|
||||||
*
|
*
|
||||||
|
@ -208,11 +208,6 @@ void gdk_surface_beep (GdkSurface *surface);
|
|||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gdk_surface_queue_expose (GdkSurface *surface);
|
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
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkFrameClock* gdk_surface_get_frame_clock (GdkSurface *surface);
|
GdkFrameClock* gdk_surface_get_frame_clock (GdkSurface *surface);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user