diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2014-11-07 14:33:53 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-11-08 00:20:15 -0500 |
commit | cdcd3ca359920d875480c6021d2fcb6b2ed65258 (patch) | |
tree | 7e32125c9a88d1ee09169507c1ad3bf7ce8a36a5 /gdk/gdkwindow.c | |
parent | 585af218a3250d9aef669fcb843f9db298141060 (diff) | |
download | gtk+-cdcd3ca359920d875480c6021d2fcb6b2ed65258.tar.gz |
Hide GdkWindow libgtk_only API in the private vtable
These are the last two global GDK symbols that have a libgtk_only
suffix.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r-- | gdk/gdkwindow.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 08bcae4f79..be4f75ca35 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -4380,10 +4380,18 @@ gdk_window_thaw_updates (GdkWindow *window) * * This function is not part of the GDK public API and is only * for use by GTK+. - **/ + * + * Deprecated: 3.16: This symbol was never meant to be used outside of GTK+ + */ void gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window) { + gdk_window_freeze_toplevel_updates (window); +} + +void +gdk_window_freeze_toplevel_updates (GdkWindow *window) +{ g_return_if_fail (GDK_IS_WINDOW (window)); g_return_if_fail (window->window_type != GDK_WINDOW_CHILD); @@ -4400,10 +4408,18 @@ gdk_window_freeze_toplevel_updates_libgtk_only (GdkWindow *window) * * This function is not part of the GDK public API and is only * for use by GTK+. - **/ + * + * Deprecated: 3.16: This symbol was never meant to be used outside of GTK+ + */ void gdk_window_thaw_toplevel_updates_libgtk_only (GdkWindow *window) { + gdk_window_thaw_toplevel_updates (window); +} + +void +gdk_window_thaw_toplevel_updates (GdkWindow *window) +{ g_return_if_fail (GDK_IS_WINDOW (window)); g_return_if_fail (window->window_type != GDK_WINDOW_CHILD); g_return_if_fail (window->update_and_descendants_freeze_count > 0); |