1. 27 Feb, 2012 2 commits
    • Javier Jardon's avatar
      Change FSF Address · 9d0febc9
      Javier Jardon authored
      9d0febc9
    • Matthias Clasen's avatar
      gtk: Use versioned deprecations · 2c25bd85
      Matthias Clasen authored
      This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
      by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
      time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
      in 3.2 and 3.4.
      2c25bd85
  2. 16 Dec, 2011 3 commits
  3. 10 Nov, 2011 1 commit
  4. 11 Oct, 2011 1 commit
  5. 27 Jan, 2011 1 commit
  6. 29 Nov, 2010 1 commit
  7. 25 Nov, 2010 1 commit
    • Tristan Van Berkom's avatar
      Added gtk_cell_renderer_get_aligned_area() and class vfunc. · 2dd2c7ce
      Tristan Van Berkom authored
      Since a cell renderer might use more space than the natural
      size when recieving expand space it's impossible to know how
      much space is actually used to render content.
      
      Adding this virtual method to allow text renderers to implement
      it, the base default method uses height-for-width apis and aligns
      the cell assuming the renderer uses a fixed size.
      
      This commit removes the similar code from gtkcellarea and
      subclasses.
      2dd2c7ce
  8. 13 Nov, 2010 1 commit
  9. 09 Nov, 2010 1 commit
  10. 08 Nov, 2010 1 commit
  11. 06 Nov, 2010 1 commit
  12. 05 Nov, 2010 1 commit
  13. 30 Oct, 2010 1 commit
  14. 26 Oct, 2010 1 commit
  15. 19 Oct, 2010 1 commit
  16. 04 Oct, 2010 1 commit
  17. 27 Sep, 2010 1 commit
  18. 26 Sep, 2010 5 commits
    • Benjamin Otte's avatar
      cellrenderer: Merge GtkCellSizeRequest into GtkCellRenderer · e6612901
      Benjamin Otte authored
      This mostly goes to keep consistency with the changes to GtkSizeRequest
      in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and
      GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping
      them separate.
      
      This patch renames the functions:
      gtk_cell_size_request_get_request_mode()
        => gtk_cell_renderer_get_request_mode()
      gtk_cell_size_request_get_width()
        => gtk_cell_renderer_get_preferred_width()
      gtk_cell_size_request_get_height()
        => gtk_cell_renderer_get_preferred_height()
      gtk_cell_size_request_get_size()
        => gtk_cell_renderer_get_preferred_size()
      gtk_cell_size_request_get_width_for_height()
        => gtk_cell_renderer_get_preferred_width_for_height()
      gtk_cell_size_request_get_height_for_width()
        => gtk_cell_renderer_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to GtkCellRenderer.
      
      The patch also renames the implementations of these functions in cell
      renderers to include the word "preferrred".
      e6612901
    • Benjamin Otte's avatar
    • Benjamin Otte's avatar
      API: Remove gtk_cell_renderer_render() · ec6e97be
      Benjamin Otte authored
      The next commit will rename gtk_cell_renderer_render_cairo() to
      gtk_cell_renderer_render() again
      ec6e97be
    • Benjamin Otte's avatar
      API: Add gtk_cell_renderer_render_cairo() · 42947e3c
      Benjamin Otte authored
      It's like gtk_cell_renderer_render(), just cooler.
      42947e3c
    • Benjamin Otte's avatar
      API: Change cellrenderer->render vfunc to take a cairo_t · e31e77ee
      Benjamin Otte authored
      Also constify the rectangle arguments. They were const anyway.
      e31e77ee
  19. 19 Sep, 2010 1 commit
  20. 27 Aug, 2010 1 commit
  21. 19 Aug, 2010 1 commit
    • Tristan Van Berkom's avatar
      Added/Implemented GtkCellSizeRequestIface · e2a82c70
      Tristan Van Berkom authored
      This patch adds height-for-width geometry management
      for cell renderers while still responding to the old
      gtk_cell_renderer_get_size() apis with virtual return values
      (obtained by soliciting the new height-for-width cell renderer
      apis).
      e2a82c70
  22. 13 Jul, 2010 1 commit
  23. 02 May, 2010 2 commits
  24. 15 Jul, 2009 1 commit
  25. 13 Jul, 2009 1 commit
  26. 24 Jun, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h · a13f698b
      Michael Natterer authored
      2008-06-24  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkassistant.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkfilechooserentry.h
      	* gtk/gtkprivate.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeview.h
      	* gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
      	if there is any other widget included, they all have to include
      	their respective parent classes (the is-a relation works for
      	includes too).
      
      
      svn path=/trunk/; revision=20679
      a13f698b
  27. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkCellRenderer. · 2bb1cc87
      Tim Janik authored
      * gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
      already accessible via GObject properties.
      
      svn path=/trunk/; revision=20525
      2bb1cc87
  28. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      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
      eff99c28
  29. 25 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h · a362eecc
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbutton.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkimcontext.h
      	* gtk/gtkstyle.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkwidget.h: add const to constant structs which are passed
      	into GTK+. Also add some forgotten const for const strings.
      
      	* gtk/gtkbutton.c
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkimcontext.c
      	* gtk/gtkstyle.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktooltip.c
      	* gtk/gtktreeview.c
      	* gtk/gtktreeviewcolumn.c
      	* gtk/gtkwidget.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19399
      a362eecc
  30. 14 Dec, 2006 1 commit
  31. 13 Dec, 2006 1 commit
    • Benjamin Berg's avatar
      - Remove unused code/options from the code. Warn about their usage while · 78fcce90
      Benjamin Berg authored
      2006-12-13  Benjamin Berg  <benjamin@sipsolutions.net>
      
      
      	* engines/clearlooks/src/clearlooks_rc_style.c:
      	(clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy),
      	(clearlooks_rc_style_parse), (clearlooks_rc_style_merge):
      	* engines/clearlooks/src/clearlooks_rc_style.h:
      	* engines/clearlooks/src/clearlooks_style.c:
      	(clearlooks_style_draw_box), (clearlooks_style_init_from_rc),
      	(clearlooks_style_copy):
      	* engines/clearlooks/src/clearlooks_style.h:
      	* engines/clearlooks/src/clearlooks_types.h:
      	- Remove unused code/options from the code. Warn about their usage
      	while parsing.
      
      
      	* themes/Clearlooks/gtk-2.0/gtkrc:
      	- Remove options that don't have any effect.
      78fcce90