1. 29 Jun, 2010 1 commit
  2. 02 May, 2010 1 commit
  3. 04 Apr, 2010 1 commit
    • Matthias Clasen's avatar
      Plug a pixmap leak · 6860f867
      Matthias Clasen authored
      We were getting our refcounts tangled up when setting drawable clips on
      GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
      6860f867
  4. 11 Jan, 2010 1 commit
    • Matthias Clasen's avatar
      Plug a pixmap leak · d32b0618
      Matthias Clasen authored
      We were getting our refcounts tangled up when setting drawable clips on
      GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
      d32b0618
  5. 06 Nov, 2009 1 commit
  6. 04 Sep, 2009 1 commit
  7. 31 Aug, 2009 1 commit
  8. 25 Aug, 2009 1 commit
    • Alexander Larsson's avatar
      Fix clipping issue with clip masks · c0084e21
      Alexander Larsson authored
      When the clip mask is completely inside the drawable clip region we
      don't change the clip at all. However, we did set region_tag_applied,
      so when the drawable clip was removed we removed the original clip mask.
      This is no good, so we fix that by returning early in this case.
      
      Fixes issue reported in bug #592752.
      c0084e21
  9. 07 Jul, 2009 2 commits
  10. 24 Jun, 2009 1 commit
  11. 27 May, 2009 1 commit
  12. 02 Apr, 2009 5 commits
  13. 01 Jul, 2008 1 commit
  14. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
      fce9c8b7
  15. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  16. 14 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h · 92f86e04
      Michael Natterer authored
      2008-01-14  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h
      	* gdk/gdkcairo.h
      	* gdk/gdkcolor.h
      	* gdk/gdkgc.h
      	* gdk/gdkinternals.h
      	* gdk/gdkregion.h
      	* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
      	parameters const.
      
      	* gdk/gdkcairo.c
      	* gdk/gdkgc.c
      	* gdk/gdkwindow.c
      	* gdk/gdkrectangle.c
      	* gdk/gdkpolyreg-generic.c
      	* gdk/gdkregion-generic.c
      	* gdk/directfb/gdkcolor-directfb.c
      	* gdk/directfb/gdkgc-directfb.c
      	* gdk/directfb/gdkgeometry-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkcolor-quartz.c
      	* gdk/quartz/gdkgc-quartz.c
      	* gdk/quartz/gdkgeometry-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkgc-win32.c
      	* gdk/win32/gdkgeometry-win32.c
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkcolor-x11.c
      	* gdk/x11/gdkgc-x11.c
      	* gdk/x11/gdkgeometry-x11.c
      	* gdk/x11/gdkmain-x11.c
      	* gdk/x11/gdkprivate-x11.h
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      	* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
      	headers.
      
      
      svn path=/trunk/; revision=19365
      92f86e04
  17. 08 Oct, 2006 1 commit
  18. 14 May, 2006 1 commit
  19. 20 Feb, 2006 2 commits
  20. 10 Jan, 2006 1 commit
  21. 08 Nov, 2005 1 commit
  22. 12 Jul, 2005 1 commit
  23. 11 May, 2005 1 commit
    • Owen Taylor's avatar
      Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to · dda40ca7
      Owen Taylor authored
      2005-05-11  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
      	to draw the swatch in to avoid having an extraneous window.
      
      	* gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
      	color when !has_opacity.
      
      2005-05-10  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
      	files for Cairo convenience functionality.
      
      	* gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
      	convenience functions to add GdkRectangle, GdkRegion to a cairo path.
      
      	* gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c
      	gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
      
      	* gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
      	gdk_drawable_create_cairo_context() to gdk_cairo_create().
      
      	* gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
      	Rename gdk_pixbuf_set_as_cairo_source() to
      	gdk_cairo_set_source_pixbuf().
      
      	* gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
      	gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
      	Adjust for renames.
      
      	* gdk/gdk.symbols: Update.
      
      	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix
      	coordinate system problem that was causing the wrong portions
      	to be invalidated.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
      	gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
      	gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
      	gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
      	gtk/gtkcellview.c (gtk_cell_view_expose)
      	gtk/gtkdnd.c (gtk_drag_highlight_expose)
      	gtk/gtkentry.c (gtk_entry_draw_text)
      	gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
      
      	* gtk/gtkcalendar.[ch]: Beat into something roughly resembling
      	GTK+ style ... use instance-private data and standard names for
      	private structure, etc. Move function docs inline.
      
      	* gtk/gtkcalendar.[ch]: Switch to drawing everything in
      	expose. Switch drawing to Cairo.
      
      	* gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
      	gtk_calendar_freeze/thaw
      dda40ca7
  24. 07 May, 2005 2 commits
  25. 02 May, 2005 1 commit
    • Owen Taylor's avatar
      Add a draw-border style property to allow themes to draw outside the · 788bbf52
      Owen Taylor authored
      2005-04-28  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c: Add a draw-border style property to allow
      	themes to draw outside the widget's allocation.
      
      	* gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
      	that were working around the clip-leakage bug in Cairo.
      
      	* gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
      	save/fill/restore.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
      	That updates a Cairo context to match a GC.
      
      	* gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
      	for tiles/stipples/clipping to gdk_draw_glyphs(),
      	gdk_draw_trapezoids().
      
      	* gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
      	implementation of stipples. Use one cairo_t across the entire
      	drawing operation. Replace cairo_matrix_create() with
      	stack-allocated matrices.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c: Save various aspects of the
      	GC state (fill, tile, stipple, foreground, background, clip region)
      	in instance-private-data for future use. Add getters.
      	Get rid of _gdk_windowing_gc_get_foreground() function implemented
      	by the backends.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
      	_gdk_gc_init() to do initial setup of the GC from values;
      	fixes some problems from drawable redirection.
      
      	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
      	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move
      	gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into
      	the generic code, add _gdk_windowing_gc_copy(),
      	_gdk_windowing_gc_set_clip_region() to do backend specific
      	stuff.
      
      	* gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
      	gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
      	gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
      	Don't duplicate state that now is stored by the generic code.
      
      	* gdk/gdk.symbols Update
      788bbf52
  26. 16 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · 2a2d769d
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gdk/gdk.symbols: Group symbols by header and source file.
      	* gdk/makegdkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkalias.pl -def
      	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
      	file.
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
      	headers, include gdkaliasdef.c at the bottom.
      2a2d769d
  27. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 0742ff3a
      Matthias Clasen authored
      Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk.def and
      	gdkalias.h from gdk.symbols, and make make check check
      	the abi with abicheck.sh.
      
      	* gdk/gdk.symbols: New file. Definition of the GDK ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk-x11.2.0.so against the symbols
      	found in gdk.symbols.
      
      	* gdk/makegdkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
      0742ff3a
  28. 22 Jun, 2004 1 commit
  29. 06 Mar, 2004 1 commit
  30. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  31. 25 Sep, 2002 1 commit
    • Manish Singh's avatar
      add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile · 234e191c
      Manish Singh authored
      Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
              and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
      
              * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
              gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
              gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c
              gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
              gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
              gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
              gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
              gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
              gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
              gdk_foo_{ref,unref} to g_object equivalents.
      234e191c
  32. 21 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383) · 083c3aef
      Matthias Clasen authored
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkgc.c (gdk_gc_get_type):
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
      	* gtk/gtkimcontext.c (gtk_im_context_get_type):
      	* gtk/gtkprogress.c (gtk_progress_get_type):
      	* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
      	* gtk/gtkwidget.c (gtk_widget_get_type):
      	* gtk/gtkseparator.c (gtk_separator_get_type):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
      	* gtk/gtkscale.c (gtk_scale_get_type):
      	* gtk/gtkrange.c (gtk_range_get_type):
      	* gtk/gtkpaned.c (gtk_paned_get_type):
      	* gtk/gtkmisc.c (gtk_misc_get_type):
      	* gtk/gtkitem.c (gtk_item_get_type):
      	* gtk/gtkcontainer.c (gtk_container_get_type):
      	* gtk/gtkbbox.c (gtk_button_box_get_type):
      	* gtk/gtkbox.c (gtk_box_get_type):
      	* gtk/gtkbin.c (gtk_bin_get_type):
      	* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
      	G_TYPE_FLAG_ABSTRACT.  (#72383)
      083c3aef
  33. 06 Sep, 2002 1 commit