summaryrefslogtreecommitdiff
path: root/gtk/gtkrecentmanager.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix the docs for gtk_recent_info_get_application_info()Matthias Clasen2009-06-151-1/+1
| | | | | | | | The documentation for the function says that the app_exec string should be freed, but we return a pointer to the internal string without duplicating it. Since the app_exec string is valid as long as the GtkRecentInfo is valid the documentation should be fixed and the out argument should be constified. Fixes #584832.
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.hMichael Natterer2008-06-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-23 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.h * gtk/gtkbuildable.h * gtk/gtkbuilderprivate.h * gtk/gtkcelllayout.h * gtk/gtkentrycompletion.h * gtk/gtkfilechoosersettings.h * gtk/gtkfilesystem.h * gtk/gtkfilesystemmodel.h * gtk/gtkicontheme.h * gtk/gtklinkbutton.h * gtk/gtkpagesetup.h * gtk/gtkpapersize.h * gtk/gtkprintcontext.h * gtk/gtkprintoperation.h * gtk/gtkprintoperationpreview.h * gtk/gtkprintsettings.h * gtk/gtkrecentchooserprivate.h * gtk/gtkrecentmanager.h * gtk/gtksearchengine.h * gtk/gtktexttag.h * gtk/gtktreeselection.h * gtk/gtktreeviewcolumn.h * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and <glib-object.h>. There is no point in relying on them being pulled in by other headers in some places and placing them explicitly in other places, so choose the "as little includes as possible" approach and get rid of them. svn path=/trunk/; revision=20675
* Seal priv pointer in GtkRecentManager.Tim Janik2008-06-201-1/+1
| | | | svn path=/trunk/; revision=20579
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-9/+9
| | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and excess newlines and sprinkled some newlines where needed. Zero code or formatting changes included. svn path=/trunk/; revision=20225
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* gtk/gtkicontheme.h include <gdk/gdk.h> instead of <gdk/gdkscreen.h>.Michael Natterer2008-04-181-1/+1
| | | | | | | | | | | | | | | | | | | 2008-04-18 Michael Natterer <mitch@imendio.com> * gtk/gtkicontheme.h * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of <gdk/gdkscreen.h>. * gtk/gtkbuilderparser.c * gtk/gtklinkbutton.c * gtk/gtkpreview.c * gtk/gtkrecentchooserdefault.c * gtk/gtkrecentchoosermenu.c * modules/input/gtkimcontextthai.c: remove inclusion of single files from gdk, none of the includes was actually needed. svn path=/trunk/; revision=20023
* Use a static variable to hold the singleton and remove the code that bindsEmmanuele Bassi2007-06-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix doc formatting errorsMatthias Clasen2006-12-291-2/+3
|
* Don't mask "time" with the "time" argument.Emmanuele Bassi2006-05-221-1/+1
| | | | | | | | | 2006-05-22 Emmanuele Bassi <ebassi@gnome.org> * gtk/gtkrecentmanager.h: * gtk/gtkrecentmanager.c (gtk_recent_info_get_application_info): Don't mask "time" with the "time" argument.
* Remove the error parameter to the gtk_recent_manager_add() andEmmanuele Bassi2006-05-121-8/+2
| | | | | | | | | | | | | 2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org> * gtk/gtkrecentmanager.h: Remove the error parameter to the gtk_recent_manager_add() and gtk_recent_manager_add_full() functions; remove the unneeded error codes from the error enumeration. (#336774). * gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and gtk_recent_manager_add_full() complain loudly about wrong or missing meta-data, instead of using a GError. (#336774)
* Fix the doc comment format.Matthias Clasen2006-03-301-1/+0
| | | | | | | | | | | | | | | | | | 2006-03-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrecentmanager.h (struct _GtkRecentData): Fix the doc comment format. * gtk/gtkrecentmanager.c (gtk_recent_manager_has_item) (gtk_recent_manager_purge_items, gtk_recent_manager_lookup_item) (gtk_recent_manager_get_limit, gtk_recent_manager_add_full) (gtk_recent_manager_get_items, gtk_recent_manager_remove_item): * gtk/gtkrecentfilter.c (gtk_recent_filter_add_age): * gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers) (gtk_recent_chooser_set_sort_func): * gtk/gtknotebook.h (gtk_notebook_set_tab_detachable): Sync parameter names between .c and .h files to help gtk-doc.
* Import GtkRecent* from libegg.Emmanuele Bassi2006-03-291-0/+214
2006-03-29 Emmanuele Bassi <ebassi@cvs.gnome.org> Import GtkRecent* from libegg. * gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object for managing a list of recently used resources. * gtk/gtkrecentchooser.[ch]: * gtk/gtkrecentchooserdefault.[ch]: * gtk/gtkrecentchooserdialog.[ch]: * gtk/gtkrecentchoosermenu.[ch]: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooserutils.[ch]: * gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a GTypeInterface for widgets implementing viewers for recently used resources. * gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object for GtkRecentChooser implementations. * gtk/gtk.h: * gtk/gtk.symbols: * gtk/Makefile.am: Build glue for GtkRecent*.