gtk+ r17514 - in trunk: . gtk



Author: ebassi
Date: 2007-03-14 10:33:36 +0000 (Wed, 14 Mar 2007)
New Revision: 17514
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17514&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkrecentchooser.c
   trunk/gtk/gtkrecentchooserdefault.c
   trunk/gtk/gtkrecentchoosermenu.c
   trunk/gtk/gtkrecentchooserprivate.h
   trunk/gtk/gtkrecentchooserutils.c
   trunk/gtk/gtkrecentchooserutils.h
Log:
2007-03-14  Emmanuele Bassi  <ebassi gnome org>

	Various clean ups in the GtkRecent code. (see #338843)

	* gtk/gtkrecentchooserdefault.c:
	* gtk/gtkrecentchoosermenu.c:
	* gtk/gtkrecentchooserprivate.h:
	* gtk/gtkrecentchooserutils.c: Move the recent chooser function
	for getting the sorted and clamped list of recent files from the
	manager outside the implementations.

	* gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
	the list when the sorting order changes.

	(gtk_recent_chooser_default_dispose),
	(gtk_recent_chooser_default_finalize): Move object unref and
	source removal from finalize to dispose.

	* gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
	prerequisite for the GtkRecentChooser interface implementations,
	from GtkObject to GObject.

	(gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
	G_PARAM_*




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]