1. 22 May, 2014 1 commit
  2. 25 Feb, 2013 1 commit
  3. 27 Feb, 2012 2 commits
    • Javier Jardón's avatar
      Change FSF Address · 9d0febc9
      Javier Jardón authored
    • Matthias Clasen's avatar
      Add versioned deprecation macros · e580c79a
      Matthias Clasen authored
      These macros follow the recent changes in GLibs deprecation
      setup. We now annotate deprecated functions with the version
      they were deprecated in, and you can define the macro
      GDK_VERSION_MIN_REQUIRED to cut off deprecation warnings for
      'recent' deprecations.
      At the same time, we introduce version annotations for new API
      and allow you to avoid 'recent' API additions by defining
  4. 21 Dec, 2010 2 commits
    • Matthias Clasen's avatar
      Remove gdk_spawn functions · 25c66c11
      Matthias Clasen authored
      These functions were trivial g_spawn wrappers in all backends
      except for X11, and they can be easily replaced by
      g_app_info_create_for_commandline + GdkAppLaunchContext.
    • Matthias Clasen's avatar
      Merge libgdk and libgtk · 07d49ee5
      Matthias Clasen authored
      This commit does a number of things:
      - remove some dead wchar configury from configure.ac and gdkconfig.h
      - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
        macros for each included backend, include it in gdk.h and install
        it in $includedir instead of below $libdir
      - drop the backend from the library names
      - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
      It does not yet enable building multiple backends at the same time.
  5. 17 Dec, 2010 1 commit
  6. 02 Dec, 2010 1 commit
  7. 25 Oct, 2010 1 commit
  8. 15 Oct, 2010 1 commit
  9. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      gdk: Remove GdkPixmap · f74f9b27
      Benjamin Otte authored
      All iusers of it are gone, so it's now time to let go.
      cairo_surface_t is a full replacement, combined with
  10. 18 Sep, 2010 1 commit
    • Havoc Pennington's avatar
      Revamp and modernize X error traps · b837ef5a
      Havoc Pennington authored
      * add per-display gdk_x11_display_error_trap_push()
        (X11-specific because gdk_error_trap_push() probably
        should have been)
      * make gdk_error_trap_push() handle only GDK displays
        not displays opened without a GDK wrapper
      * make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
        automatically sync only if needed, so manual gdk_flush() is not
      * add gdk_error_trap_pop_ignored() which just asynchronously
        ignores errors, so never needs to sync
      * add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
        if you use plain pop() and don't need the return value,
        the async gdk_error_trap_pop_ignored() should be used
        instead. This results in lots of warnings to clean
        up in a later patch.
      The main objective here was to avoid the need to sync just
      to ignore an error. Now, syncing is automatic, and only
      happens when we need to know the error code.
  11. 10 Sep, 2010 1 commit
  12. 08 Sep, 2010 1 commit
    • Tor Lillqvist's avatar
      Remove variables from the platform-independent GDK API · 3963d5aa
      Tor Lillqvist authored
      gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed
      from public API. gdk_threads_mutex was deprecated already. Instead of
      using gdk_threads_lock and _unlock one was presumably supposed to use
      the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the
      corresponding gdk_threads_enter() and _leave() functions.
      Remove he dllimport/dllexport ugliness for GDK for Windows.
      There is still a gdk_display variable being exported by the X11
  13. 10 Aug, 2010 3 commits
  14. 29 Jun, 2010 1 commit
  15. 28 Jun, 2010 1 commit
  16. 19 Jun, 2010 2 commits
  17. 26 May, 2010 1 commit
  18. 25 May, 2010 1 commit
  19. 12 May, 2010 1 commit
  20. 31 Jul, 2008 1 commit
  21. 01 Jul, 2008 1 commit
  22. 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
  23. 18 Jun, 2008 1 commit
    • Michael Natterer's avatar
      deprecate GdkDestroyNotify. · 67c6c28f
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      	* gdk/gdk.h: deprecate GdkDestroyNotify.
      	* gdk/gdkevents.c
      	* gdk/gdktypes.h
      	* gdk/x11/gdkevents-x11.c
      	* gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
      svn path=/trunk/; revision=20449
  24. 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
      	* 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
      	* gdk/win32/gdkwin32.h
      	* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
      	other includes.
      svn path=/trunk/; revision=20217
  25. 18 Apr, 2008 1 commit
  26. 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
      svn path=/trunk/; revision=19365
  27. 13 Dec, 2007 1 commit
  28. 20 Nov, 2007 1 commit
    • Tim Janik's avatar
      Moved Gdk test functions from Gtk+ to Gdk test utils. · 4f7a2da8
      Tim Janik authored
      * gdk/Makefile.am: added gdktestutils.h to public includes.
      * gdk/gdk.h: added gdktestutils.h to public includes.
      * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
      * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      * gdk/x11/Makefile.am: build gdktestutils-x11.c.
      * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      * gtk/gtktestutils.c:
      * gtk/gtktestutils.h:
      * gtk/gtk.symbols: removed gtk_test_simulate_button
      gtk_test_simulate_key, gtk_test_xserver_render_sync.
      * gtk/tests/testing.c: call gdk_test_render_sync.
      svn path=/trunk/; revision=19012
  29. 13 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Apply patch by Vytautas Liuolia for changing the startup notification id · 87c28d77
      Emmanuele Bassi authored
      2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
      	Apply patch by Vytautas Liuolia for changing the startup
      	notification id on a window in the X11 backend. (#347375)
      	* gdk/gdk.h:
      	* gdk/gdkx.h:
      	* gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_wit_id()
      	and gdk_x11_display_get_startup_notification_id().
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
      	* gtk/gtkwindow.h:
      	* gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
      	change the startup notification id.
      	(gtk_window_class_init), (gtk_window_init),
      	(gtk_window_set_property): Add write-only "startup-id" property
      	to GtkWindow.
      	(gtk_window_realize): Set the startup notification id
      	on a GtkWindow if it's valid.
      	(gtk_window_map): If we have another valid startup notification
      	id then finish the notification process.
      svn path=/trunk/; revision=17508
  30. 28 Dec, 2006 1 commit
  31. 22 Dec, 2006 2 commits
  32. 12 Jun, 2005 1 commit
  33. 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/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
  34. 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.