gtk+ r21831 - in trunk: . gdk
- From: cdywan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21831 - in trunk: . gdk
- Date: Sun, 30 Nov 2008 05:04:30 +0000 (UTC)
Author: cdywan
Date: Sun Nov 30 05:04:29 2008
New Revision: 21831
URL: http://svn.gnome.org/viewvc/gtk+?rev=21831&view=rev
Log:
2008-11-30 Christian Dywan <christian imendio com>
Bug 539263 â Deprecate gdk_window_get_toplevels
* gdk/gdkwindow.c:
* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
Modified:
trunk/ChangeLog
trunk/gdk/gdkwindow.c
trunk/gdk/gdkwindow.h
Modified: trunk/gdk/gdkwindow.c
==============================================================================
--- trunk/gdk/gdkwindow.c (original)
+++ trunk/gdk/gdkwindow.c Sun Nov 30 05:04:29 2008
@@ -946,6 +946,8 @@
* its elements need not be freed.
*
* Return value: list of toplevel windows, free with g_list_free()
+ *
+ * Deprecated: 2.16: Use gdk_screen_get_toplevel_windows() instead.
**/
GList *
gdk_window_get_toplevels (void)
Modified: trunk/gdk/gdkwindow.h
==============================================================================
--- trunk/gdk/gdkwindow.h (original)
+++ trunk/gdk/gdkwindow.h Sun Nov 30 05:04:29 2008
@@ -565,7 +565,7 @@
GdkWMDecoration *decorations);
void gdk_window_set_functions (GdkWindow *window,
GdkWMFunction functions);
-#ifndef GDK_MULTIHEAD_SAFE
+#if !defined(GDK_MULTIHEAD_SAFE) && !defined(GDK_DISABLE_DEPRECATED)
GList * gdk_window_get_toplevels (void);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]