summaryrefslogtreecommitdiff
path: root/README.in
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2007-06-19 10:29:55 +0000
committerEmmanuele Bassi <ebassi@src.gnome.org>2007-06-19 10:29:55 +0000
commit232e79a6d79b90d99deb11e126373d493f3045f6 (patch)
tree601105767d80e90704b65aab8416fe5c3946df66 /README.in
parentd49e7facdb710e49c46d1470337ab121b1d6680f (diff)
downloadgtk+-232e79a6d79b90d99deb11e126373d493f3045f6.tar.gz
Use a static variable to hold the singleton and remove the code that binds
2007-06-19 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentmanager.c: Use a static variable to hold the singleton and remove the code that binds a recent manager to a GdkScreen. (gtk_recent_manager_set_screen): Make it a NOOP. (gtk_recent_manager_get_for_screen): Proxy for gtk_recent_manager_get_default(). * gtk/gtk.symbols: * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen() and gtk_recent_manager_get_for_screen(). * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager singleton (if any) when reaching main loop depth of 0. * gtk/gtkrecentchooserdefault.c: (gtk_recent_chooser_default_dispose): Disconnect the changed signal only if we have a manager and we are connected to it. (set_recent_manager): Ditto. * README.in: Document the deprecations. svn path=/trunk/; revision=18184
Diffstat (limited to 'README.in')
-rw-r--r--README.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.in b/README.in
index 800d066ce5..74efdfe2ae 100644
--- a/README.in
+++ b/README.in
@@ -86,6 +86,12 @@ Release notes for 2.12
documented as an abstract class, and there is little reason to
instantiate it.
+* The memory management of the GtkRecentManager object has been changed,
+ as using the screen didn't guarantee that the singleton instance was
+ correctly destroyed. The screen-related functions have been deprecated,
+ and should not be used anymore; the GtkRecentManager instance returned by
+ the gtk_recent_manager_get_default() function is guaranteed to be valid
+ for the entire lifetime of an application.
Release notes for 2.10
======================