1. 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
  2. 25 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.8 · 4896e24b
      Matthias Clasen authored
      2007-11-25  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.8
      
              * */*.c: Use gtk-doc abbreviations for examples in docs.
      
      
      svn path=/trunk/; revision=19041
      4896e24b
  3. 12 Jul, 2007 1 commit
    • Tim Janik's avatar
      clarified documentation example. · 508baa25
      Tim Janik authored
      Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>
      
              * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
      
      
      
      svn path=/trunk/; revision=18458
      508baa25
  4. 26 May, 2007 1 commit
  5. 09 Mar, 2007 1 commit
  6. 28 Dec, 2006 1 commit
  7. 22 Dec, 2006 1 commit
  8. 03 Sep, 2006 1 commit
  9. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Here too. · 9713b368
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdk.c: Here too.
      9713b368
  10. 11 Dec, 2005 1 commit
  11. 06 Dec, 2005 1 commit
  12. 09 Nov, 2005 1 commit
    • Tor Lillqvist's avatar
      gdk/gdkinternals.h Add new GDK_DEBUG_DRAW flag to the GdkDebugFlag enum. · 3b9a63ec
      Tor Lillqvist authored
      2005-11-09  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/gdkinternals.h
      	* gdk/gdk.c (gdk_debug_keys[]): Add new GDK_DEBUG_DRAW flag to
      	the GdkDebugFlag enum.
      
      	* gdk/win32/gdkdrawable-win32.c: Use DRAW to trigger GDK_NOTEs in
      	this file instead of MISC. Now asking for MISC will give mainly
      	window manipulation debugging output.
      3b9a63ec
  13. 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
  14. 28 Oct, 2004 1 commit
  15. 21 Sep, 2004 1 commit
    • Manish Singh's avatar
      remove now unused arg variables. · 1d384645
      Manish Singh authored
      Tue Sep 21 16:27:19 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/gdk.c: remove now unused arg variables.
      
              * gdk/gdkinternals.h: declare _gdk_windowing_init ().
      
              * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
              here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.
      1d384645
  16. 05 Sep, 2004 2 commits
    • Matthias Clasen's avatar
      Add descriptions for the commandline arguments. The actual descriptions · e1077caf
      Matthias Clasen authored
      Sun Sep  5 17:14:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c:
      	* gdk/gdk.c:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c: Add descriptions for the
      	commandline arguments. The actual descriptions are mostly
      	taken from libbonoboui, so translators should be able to
      	copy existing translations from there.
      e1077caf
    • Anders Carlsson's avatar
      Make gtk argument parsing use goption. Add gtk_get_option_group and · 04d65a6d
      Anders Carlsson authored
      2004-09-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
      	(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
      	(gdk_parse_args):
      	* gdk/gdk.h:
      	* gdk/gdkinternals.h:
      	* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
      	* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
      	* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
      	* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
      	(gtk_arg_module_cb), (gtk_arg_warnings_cb),
      	(do_pre_parse_initialization), (do_post_parse_initialization),
      	(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
      	(gtk_init_with_args), (gtk_parse_args):
      	* gtk/gtkmain.h:
      	Make gtk argument parsing use goption. Add gtk_get_option_group and
      	gtk_init_with_args.
      
      	* tests/testtreemodel.c: (main):
      	Use gtk_init_with_args.
      04d65a6d
  17. 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
  18. 05 Apr, 2004 1 commit
    • Anders Carlsson's avatar
      Handle '--' correctly. · 3bfc888d
      Anders Carlsson authored
      2004-04-05  Anders Carlsson  <andersca@gnome.org>
      
      	* gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
      3bfc888d
  19. 06 Mar, 2004 1 commit
  20. 11 Dec, 2003 1 commit
  21. 08 Dec, 2003 1 commit
    • Michael Meeks's avatar
      Based on a patch by Martin Kretzschmar; #122448 · fa3ca01b
      Michael Meeks authored
      2003-12-02  Michael Meeks  <michael@ximian.com>
      
      	Based on a patch by Martin Kretzschmar; #122448
      
      	* gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
      	implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
      	(GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
      	function pointers. Deprecate the global gdk_threads_mutex variable.
      
      	* gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
      	extracted from GTK_THREADS_ENTER/LEAVE macros.
      	(gdk_threads_init): init gtk_threads_[un]lock if not set.
      	(gdk_threads_set_lock_functions): impl.
      
      	* gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
      fa3ca01b
  22. 03 Nov, 2003 1 commit
  23. 16 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Make the list of default languages more comprehensive. (Suggestion of Fco. · 34c55024
      Owen Taylor authored
      Sat Aug 16 10:34:49 2003  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/imcedilla.c: Make the list of default
              languages more comprehensive. (Suggestion of
              Fco. Javier F. Serrador)
      
      Sat Aug  9 12:47:11 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.c (gdk_arg_context_parse): Fix broken
              parentheses when skipping args.
      34c55024
  24. 01 Aug, 2003 1 commit
  25. 28 Nov, 2002 1 commit
  26. 17 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGDK_DISABLE_DEPRECATED · 89fd6ad3
      Manish Singh authored
      Sun Nov 17 13:45:08 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gdk/gdk.c (gdk_exit): remove obsolete comment
      
              * gdk/gdk.h: declare gdk_input_add_full if GTK_COMPILATION for
              gtk_input_add_full
      
              * gdk/gdkcolor.c (gdk_color_white, gdk_color_black): use
              gdk_colormap_alloc_color instead of gdk_color_alloc
      
              * gdk/gdkcolor.h: declare gdk_colormap_change if GDK_COMPILATION for
              gdk_colors_store. Also, gdk_colors_{alloc,free} for
              gdk_rgb_try_colormap
      
              * gdk/gdkdrawable.h: declare gdk_draw_string if GTK_COMPILATION for
              gtk_default_draw_string. Also, gdk_draw_text and gdk_draw_text_wc
              if GDK_COMPILATION for the respective gdk_window_ and gdk_pixmap_
              functions.
      
              * gdk/gdkfont.c: #undef GDK_DISABLE_DEPRECATED, completely compat
              code here
      
              * gdk/gdkfont.h: allow the GdkFont structure and a few gdk_font_
              functions for compat code in GDK_COMPILATION and GTK_COMPILATION.
      
              * gdk/gdkrgb.c (gdk_rgb_cmap_fail, gdk_rgb_try_colormap): use
              gdk_colormap_free_colors instead of gdk_colors_free.
      
              * gdk/gdkrgb.c (gdk_draw_rgb_image_core): no need to set fg/bg
              for own_gc, unused.
      
              * gdk/gdkwindow.h: declare gdk_window_get_deskrelative_origin if
              GTK_COMPILATION for gtk_handle_box_button_changed.
      
              * gdk/x11/Makefile.am: add -DGDK_DISABLE_DEPRECATED, renmae
              -DINSIDE_GDK_X11 to -DGDK_COMPILATION
      
              * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for
              gdk_colormap_alloc_colors.
      
              * gdk/x11/gdkfont-x11.c:  #undef GDK_DISABLE_DEPRECATED, completely
              compat code here
      
              * gdk/x11/gdkx.h: use GDK_COMPILATION instead of INSIDE_GDK_X11,
              allow a few gdk_x11_font_ functions if GDK_COMPILATION for compat
              code
      
              * gtk/Makefile.am: add -DGDK_DISABLE_DEPRECATED
      
              * gtk/gtkclist.c
              * gtk/gtkctree.c
              * gtk/gtkpixmap.c
              * gtk/gtkpreview.c
              * gtk/gtktext.c: #undef GDK_DISABLE_DEPRECATED, deprecated widget
      
              * gtk/gtkhandlebox.c (gtk_handle_box_motion): use
              gdk_window_set_geometry_hints instead of gdk_window_set_hints.
      
              * gtk/gtkmain.c (gtk_exit): call exit directly
      
              * gtktipsquery.c (gtk_tips_query_real_start_query)
              * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): remove some
              deprecated GDK usage.
      89fd6ad3
  27. 07 Nov, 2002 1 commit
  28. 31 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a --screen option for setting the default screen. (Based on a patch · 550bf181
      Owen Taylor authored
      Thu Oct 31 12:40:39 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.[ch] gdk/gdkglobals.c gdk/gdkinternals.h
              gdk/{x11,win32,linux-fb}/gdkscreen-{x11,win32,linux-fb}.c:
              Add a --screen option for setting the default screen.
              (Based on a patch from Balamurali Viswanathan, #81145)
      
              * gdk/gdk.c gdkdisplay.h gtk/gtkmain.c: Add
              gdk_display_open_default_libgtk_only(), so gtk_init_check()
              and gdk_init_check() can share the same behavior w.r.t.
              --screen.
      
              * gdk/gdk.[ch]: Make gdk_get_display_arg_name() G_CONST_RETURN.
      
              * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
              Suppress a spurious warning.
      
              * tests/testgtkrc: Remove someleft-over commented out
              includes that could be confusing.
      550bf181
  29. 02 Aug, 2002 1 commit
  30. 16 Jul, 2002 1 commit
  31. 20 Jun, 2002 2 commits
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
    • Owen Taylor's avatar
      Add a singleton object that we can use to get notification when displays · 5830bf89
      Owen Taylor authored
      Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
              gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
              gdk/win32/gdkdisplay-win32.c: Add a singleton object that
              we can use to get notification when displays
              appear / disappear or the default display changes.
      
              gdk_set_default_display() => gdk_display_manager_set_default_display()
              gdk_list_displays() => gdk_display_manager_list_displays().
              (#85696)
      
              * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
              generation.
      
              * gdk/gdkintl.h: Add this.
      
              * gtk/gtkmain.c: Add gtk_parse_args() that initializes
              GTK+ without opening a display.
      
              * gtk/gtkmain.c: Set things up so if a module
              exports gtk_module_init() and gtk_module_display_init(),
              then we treat it as multihead aware, otherwise,
              we only initialize it after the default display is set.
      5830bf89
  32. 18 Jun, 2002 1 commit
  33. 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
  34. 13 Feb, 2002 1 commit
  35. 21 Jan, 2002 2 commits
    • Owen Taylor's avatar
      Set the fallback program class here, rather than · da117dcd
      Owen Taylor authored
      Mon Jan 21 11:46:39 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.c (gdk_init_check): Set the fallback program class here,
              rather than lazilygdk_get_program_class(), since we don't want
              -name to override it. (#69123, Ryan Lovett)
      da117dcd
    • Owen Taylor's avatar
      Fix wrong types for command line arguments (#69124, Ryan Lovett) · 599b862f
      Owen Taylor authored
      Mon Jan 21 10:29:45 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c: Fix wrong types for command line arguments
      	(#69124, Ryan Lovett)
      
      	* gdk/gdk.c (gdk_arg_context_parse): Fix bug in parsing
      	parsing '--arg VALUE'.
      
      	* gdk/gdk.c: Remove unused variable gdk_error_trap_free_list.
      599b862f
  36. 17 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Move here, and save/restore the X error handler to allow people using GTK+ · c8698f92
      Owen Taylor authored
      Thu Jan 17 13:08:34 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move
      	here, and save/restore the X error handler to allow
      	people using GTK+ to set the X error handler to something
      	custom without disturbing the operation of GDK.
      
      	* gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push)
      	* gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add
      	dummy implementations.
      
      	* gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c
      	gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop()
      	for all error trapping.
      
      	* gdk/x11/gdkdnd-x11.c: Remove '#if 0' code.
      
      	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix
      	problem where we would add the results anyways,
      	and then add it again if no error occurred, and problem
      	where we could leave _gdk_error_warnings() unset.
      c8698f92
  37. 11 Dec, 2001 1 commit