1. 28 Oct, 2016 1 commit
  2. 26 Mar, 2016 3 commits
  3. 12 Jun, 2014 1 commit
    • Matthias Clasen's avatar
      Drop GDK_MULTIHEAD_SAFE · 5334fb89
      Matthias Clasen authored
      We don't support multiple screens anymore, so there is no need
      for marking API as multihead safe any longer.
      5334fb89
  4. 28 Jan, 2014 1 commit
  5. 05 May, 2013 1 commit
  6. 28 Dec, 2012 1 commit
  7. 27 Feb, 2012 1 commit
  8. 24 Dec, 2010 1 commit
  9. 21 Dec, 2010 1 commit
    • Matthias Clasen's avatar
      Move GdkVisual parallel-implementable · c6a50742
      Matthias Clasen authored
      It turned out no vfuncs were necessary. I've decided to move
      the screen member up to GdkVisual, since it is the same in all
      backends. The X11 backend subclasses now, to add the X members
      that it needs to keep track of. GdkVisual and GdkVisualClass
      are hidden now.
      c6a50742
  10. 16 Nov, 2010 1 commit
  11. 15 Nov, 2010 1 commit
  12. 12 Oct, 2010 1 commit
  13. 01 Oct, 2010 1 commit
  14. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      x11: Use G_DEFINE_TYPE() to define GdkVisual · 47ee9961
      Benjamin Otte authored
      Also add a priv pointer to GdkVisual and use it for the GdkVisualPrivate
      structure. Then Make GdkVisualPrivate actually private to
      gdkvisual-x11.c and make other callers use proper function calls to
      access it.
      47ee9961
  15. 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
  16. 02 May, 2010 2 commits
  17. 01 Jul, 2008 1 commit
  18. 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
  19. 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
  20. 12 Jul, 2005 1 commit
  21. 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
  22. 06 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Changes multihead reorganizing code for win32 support, mostly from a patch · aeaaae04
      Owen Taylor authored
      Wed Jun  5 18:34:47 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Changes multihead reorganizing code for win32 support,
      	mostly from a patch by Hans Breuer.
      
      	* gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
      	  gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
      	  gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
      	  gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
      	  gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
      	  gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
      	  gdk/x11/gdkpango-x11.c gdk/gdkselection.c
      	  gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
      	  gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
      	  Move port-independent singlehead wrapper functions into
      	  port-independent part of GDK. (#80009)
      
      	* gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
      	  gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
      	  gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
      	  gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
      	  gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c:
      	Turn singlehead functions into "multihead" functions that ignore
      	their GdkDisplay or GdkScreen arguments.
      
      	* gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
      	gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h:
      	Misc multihead-compatibility changes.
      
      	* gtk/gtk.def gdk/gdk.def: Update for multihead functions.
      
      	* gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c
      	gdk/x11/gdkvisual-x11.c: Remove the screen fields
      	from the public parts of the colormap/visual structures, add accessors
      	instead.
      
      	* gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
      	  gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
      	  gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
      	  gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
      	for colormaps, visuals; move the fields into the private
      	structures for the x11 backend.
      
      	* gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	  gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c:
      	Remove virtualization of screen and display functions.
      	(#79990, patch from Erwann Chenede)
      
      	* gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
      	gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
      	New files containing stub implementations of Display,
      	Screen functions.
      
      	* gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
      	gdk/x11/gdkx.h: Clean up function exports and what
      	headers they are in. (#79954)
      
      	* gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
      	screen->screen_num. (In the patch for #79972, Erwann Chenede)
      
      	* gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
      	 gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
      	to use window hooks. (#79972, patch partly from Erwann Chenede)
      
      	* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
      	some warnings.
      aeaaae04
  23. 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
  24. 30 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Deprecate. · 101d4488
      Matthias Clasen authored
              * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
              gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
              gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
              gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref):  Deprecate.
      
              * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
              GTK_DISABLE_DEPRECATED.
      
              * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
              gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.
      
              * gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml,
              gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.
      101d4488
  25. 30 Jun, 2001 1 commit
    • Alexander Larsson's avatar
      Convert GdkVisual to a GObject. · 43696e84
      Alexander Larsson authored
      2001-06-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/gdkvisual.h:
      	* gdk/gdkcolor.c:
      	* gdk/x11/gdkx.h:
      	* gdk/x11/gdkvisual-x11.c:
      	Convert GdkVisual to a GObject.
      
      	* gdk/gdkinput.h:
      	* gdk/gdkevents.c:
      	* gdk/x11/gdkinputprivate.h:
      	* gdk/x11/gdkinput-gxi.c:
      	* gdk/x11/gdkinput-none.c:
      	* gdk/x11/gdkinput-x11.c:
      	* gdk/x11/gdkinput-xfree.c:
      	* gdk/x11/gdkinput.c:
      	Convert GdkDevice to a GObject.
      43696e84
  26. 16 Apr, 2001 1 commit
    • Hans Breuer's avatar
      added all exports required to link PyGtk 0.7.1 · 0e432245
      Hans Breuer authored
      2001-04-16  Hans Breuer  <hans@breuer.org>
      
      	* gdk/gdk.def :
      	* gtk/gtk.def : added all exports required to link PyGtk 0.7.1
      
      	* gdk/gdkfont.h : #define GDK_TYPE gdk_font_get_type ()
      	we are interested in the functions return value not the function address
      	* gdk/gdkvisual.h : same for GDK_TYPE_VISUAL
      
      	* gtk/makefile.msc.in : reflect movement of GDK_TYPEs from gtk to gdk
      0e432245
  27. 02 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Add GdkEventSetting event for notification of changes to system settings, · b52b326d
      Owen Taylor authored
      Mon Apr  2 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.h: Add GdkEventSetting event for notification
      	of changes to system settings, gdk_setting_get() to retrieve
      	a single system setting.
      
      	* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
      	to the draft XSETTINGS mechanism.
      
      	* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
      	XSETTINGS.
      
      	* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
      	of GDK settings changes to the GtkSettings object.
      
      	* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
      	double-click-timeout property to GDK.
      
      	* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
      	Define GDK boxed types here.
      
      	* gdk/Makefile.am gdk/makeenums.pl: Generate source files
      	gdk/gdkenumtypes.[ch] for enum definitions.
      
      	* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
      	* gtk/gtk-boxed.defs: Comment out GDK types
      	* gtk/gtktypeutils.h: Remove GDK types
      	* gtk/Makefile.am: No longer scan GDK headers for enumerataions
      b52b326d
  28. 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