1. 28 Dec, 2012 1 commit
  2. 27 Feb, 2012 2 commits
  3. 10 Nov, 2011 1 commit
  4. 11 Oct, 2011 1 commit
  5. 09 Oct, 2011 1 commit
  6. 24 Dec, 2010 1 commit
  7. 21 Dec, 2010 3 commits
  8. 16 Nov, 2010 1 commit
  9. 15 Nov, 2010 1 commit
  10. 26 Sep, 2010 1 commit
  11. 25 Jul, 2010 1 commit
  12. 25 May, 2010 1 commit
    • Matthias Clasen's avatar
      Seal gdk · 50a72eda
      Matthias Clasen authored
      Add G_SEAL annotation for struct members, and add accessors for
      the (useful) fields. Patch based on work by Garrett Regier,
      see bug #592580.
      50a72eda
  13. 02 May, 2010 2 commits
  14. 20 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Cache cursors to avoid libXcursor theme lookup overhead. · 1cba7387
      Matthias Clasen authored
              Patch by David Alan Gilbert.
      
              * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.
      
              * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.
      
              * gdk/x11/gdkprivate-x11.h:
              * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a
              display if finalized.
      
      
      svn path=/trunk/; revision=22145
      1cba7387
  15. 01 Jul, 2008 1 commit
  16. 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
  17. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GDK_H_INSIDE__ around including all other headers. · 791ac426
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
      	headers.
      
      	* gdk/gdkenumtypes.h.template
      	* gdk/gdk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually. Also removed some redundant includes and
      	did some tiny trailing whitespace removal that's not worth to
      	commit separately.
      
      	* gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
      	files.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
      	other includes.
      
      
      svn path=/trunk/; revision=20217
      791ac426
  18. 12 Jul, 2005 1 commit
  19. 18 Jun, 2005 1 commit
  20. 17 Jun, 2005 1 commit
  21. 14 Jun, 2005 1 commit
  22. 08 May, 2005 1 commit
    • Matthias Clasen's avatar
      Small documentation additions. · ba20420e
      Matthias Clasen authored
      2005-05-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkcolor.c (gdk_cairo_set_source_color):
      	* gdk/gdkimage.h:
      	* gdk/gdkdraw.c:
      	* gdk/gdkcolor.h:
      	* gdk/gdkcursor.h:
      	* gdk/x11/gdkcolor-x11.c: Small documentation additions.
      ba20420e
  23. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · fdec8714
      Matthias Clasen authored
      2004-11-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkvisual.h (gdk_visual_get_type):
      	* gdk/gdkscreen.h (gdk_screen_get_type):
      	* gdk/gdkinput.h (gdk_device_get_type):
      	* gdk/gdk.h (gdk_rectangle_get_type):
      	* gdk/gdkfont.h (gdk_font_get_type):
      	* gdk/gdkevents.h (gdk_event_get_type):
      	* gdk/gdkdrawable.h (gdk_drawable_get_type):
      	* gdk/gdkdisplay.h (gdk_display_get_type):
      	* gdk/gdkcursor.h (gdk_cursor_get_type):
      	* gdk/gdkcolor.h (gdk_color_get_type): Mark as const.
      
      	* gdk/gdk.symbols:
      	* gdk/Makefile.am (stamp-gdkenumtypes.h): Mark get_type() functions
      	generated by glib-mkenums as const.
      fdec8714
  24. 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
  25. 30 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Check for Xcursor. · eb7135ad
      Matthias Clasen authored
      2003-07-01  Matthias Clasen  <maclas@gmx.de>
      
      	* configure.in: Check for Xcursor.
      
      	* gdk/x11/gdkcursor-x11.c:
      	* gdk/gdkdisplay.h:
      	* gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
      	gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
      	gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
      	gdk_display_get_maximal_cursor_size().  (#69436)
      eb7135ad
  26. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  27. 25 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Start of integration of Erwann Chenede's multihead work from the · 425b9886
      Owen Taylor authored
      Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Start of integration of Erwann Chenede's multihead work
              from the gtk-multihead branch.
      
              * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
              gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
              New classes representing a set of screens with attached
              input devices and a single contiguous area, respectively.
      
              * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
              gdk/x11/gdkprivate-x11.h: Make the initialization interface
              simple _gdk_windowing_init() and do the rest in
              gdk_open_display() calls.
      
              * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
              to do the display-independent part of initialization
              instead of gdk_init_[check].
      
              * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
              gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
              Add multihead variants (_for_display(), for_screen()) of functions
              getting information specific to a particular screen screen or
              display.
      
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              objects.
      
              * gdk/x11/gdkx.h: Add functions for converting GdkScreen
              and GdkDisplay into the X equivalents.
      
              * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
              not in the headers and unused.
      
              * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
              Remove gxid support ... has not been tested for a long time...
              "xfree" support is more portable to non XFree86.
      
              * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
              used to turn off functions that are inherently non-multihead
              safe.
      
              * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
              are used in non-multihead-safe ways.
      
              * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
              multihead safe.
      425b9886
  28. 28 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Directly include the contents of gdkcursors.h in the GdkCursorType enum. · 4ee972a5
      Matthias Clasen authored
              * gdk/gdkcursor.h: Directly include the contents
              of gdkcursors.h in the GdkCursorType enum.
      
              * gdk/gdkcursors.h: Deleted.
      
              * gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add
              header boilerplate.
      
              * gdk/Makefile.am: Remove the X-derived-headers rule.
      
              * gdk/tmpl/cursors.sgml: Document GdkCursor and standard cursors.
      4ee972a5
  29. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      [ Patch from Sebastian Wilhelmi, 52790 ] · a2d60d44
      Owen Taylor authored
      Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ Patch from Sebastian Wilhelmi, 52790 ]
      
      	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
      
      	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
      	Move compatibility macros from g[dt]kcompat.h to within
      	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
      
      	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
      
      	* demos/Makefile.am demos/gtk-demo/Makefile.am
                docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
                tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
      
      	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
                       testpixbuf.c}: Fix usages of deprecated functions.
      a2d60d44
  30. 28 Jun, 2001 1 commit
    • James Henstridge's avatar
      The following changes correspond to bug #56812 · cd3ddf90
      James Henstridge authored
      2001-06-29  James Henstridge  <james@daa.com.au>
      
      	The following changes correspond to bug #56812
      
      	* gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type
      	code for GdkDevice.
      
      	* gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for
      	GdkCursor.
      cd3ddf90
  31. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  32. 29 Jan, 2000 1 commit
    • Havoc Pennington's avatar
      use gdk_cursor_unref instead of destroy · 4d48b106
      Havoc Pennington authored
      2000-01-30  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
      		destroy
      
      			* gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
      
      				* gdk/gdkprivate.h: declare
      _gdk_cursor_destroy which is then
      	implemented in platform-specific code
      
      		* gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
      
      			* gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy):
      rename with an
      	underscore in front
      
      		* gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
      			put an underscore in front
      
      				* gdk/gdkcursor.c: new file, implements
      					gdk_cursor_ref/gdk_cursor_unref
      
      						* gdk/gdkcursor.h: Refcount GdkCursor
      
      							* gdk/gdkcompat.h
      (gdk_cursor_destroy): compat
      4d48b106
  33. 01 Oct, 1999 1 commit
    • Owen Taylor's avatar
      Started · 637a466d
      Owen Taylor authored
      Fri Oct  1 18:03:36 1999  Owen Taylor  <otaylor@redhat.com>
      
              * docs/Changes-1.4.txt: Started
      
      	* gtk/Makefile.am (gdk_headers): Include all the new headers.
      
              * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces.
      
      	* gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private
      	into C file.
      
      	* gdkinput.h gdkinputprivate.h - renamed the internal gdkinput
      	header to gdkinputprivate.h.
      
      	* gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been
      	unused since before 1.2.
      637a466d