1. 06 Mar, 2004 1 commit
  2. 03 Mar, 2004 1 commit
  3. 31 Jan, 2004 1 commit
  4. 17 Jan, 2004 1 commit
  5. 07 Jan, 2004 1 commit
  6. 14 Dec, 2003 1 commit
    • Hans Breuer's avatar
      handle GTK_DATADIR similar as the other filesystem placement 'constants' · 4acd98a8
      Hans Breuer authored
      2003-12-14  Hans Breuer  <hans@breuer.org>
      	* gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
      	similar as the other filesystem placement 'constants' (dynamic
      	resolving on win32)
      	* gtk/gtkfilechooserwidget.c : handle file system to win32
      	renaming here as will
      	* gtk/gtkfilesystemwin32.c : implement render_icon
      	* gtk/gtk.def gdk/gdk.def : updated externals
      	* gdk/win32/gdkdisplay-win32.c : make it compile without
      	<multimon.h> - i.e. even older sdk
      	* gdk/win32/gdkevents-win32.c : match resize_timer_proc
      	with TIMERPROC prototype
      	* gdk/win32/gdkwindow-win32.c : older msvc does not know
      	BITMAPV5HEADER (from win xp) either
      	* gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
      	not defined
      	* tests/testfilechooser.c : recent GLib crashes on
      	g_print ("%s", NULL) so avoid this
  7. 28 Oct, 2003 1 commit
  8. 23 Oct, 2003 1 commit
    • Owen Taylor's avatar
      Fix some unused variables. · 3724a591
      Owen Taylor authored
      Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>
              * demos/gtk-demo/menus.c (do_menus): Fix some unused
              * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
              variable warning
  9. 30 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Doc formatting tweaks. · dbdc43be
      Matthias Clasen authored
      2003-10-01  Matthias Clasen  <maclas@gmx.de>
      	* gtk/gtkmain.c: Doc formatting tweaks.
      	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
      	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
      	Use the same parameter names as in .c file, to pacify gtk-doc.
      	* gtk/gtktoggletoolbutton.[hc]:
      	* gtk/gtktoolbutton.[hc]:
      	* gtk/gtktoolitem.[hc]:
      	* gtk/gtktoolbar.[hc]:
      	* gtk/gtkcolorbutton.[hc]:
      	* gtk/gtkfontbutton.[hc]:
      	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
      	source, not in the header.
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
      	Document these as 2.4 API additions.
      	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
      	* gtk/gtk-sections.txt: Additions.
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
  10. 20 Sep, 2003 1 commit
    • Tor Lillqvist's avatar
      Don't use zip -r on the etc directory, to avoid including editor backup · 71e847d1
      Tor Lillqvist authored
      2003-09-20  Tor Lillqvist  <tml@iki.fi>
      	* gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
      	including editor backup files. List files we want explicitly.
      	* gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
      	calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
      	LC_ALL, LC_CTYPE and LANG environment variables, than calls
      	(gtk_get_default_language): Code snippet moved to above function,
      	call it.
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
      	* gtk/gtkrc.c (gtk_rc_context_parse_file): Call
      	_gtk_get_lc_ctype() instead of setlocale().
  11. 24 Feb, 2003 1 commit
    • Sven Neumann's avatar
      fixed documentation. · 3e1a690c
      Sven Neumann authored
      2003-02-24  Sven Neumann  <sven@gimp.org>
      	* gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
  12. 12 Jan, 2003 1 commit
    • Tor Lillqvist's avatar
      Merge from stable: · 4a3c812b
      Tor Lillqvist authored
      2003-01-12  Tor Lillqvist  <tml@iki.fi>
      	Merge from stable:
      	* gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
      	as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
      	* gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
      	* gdk/gdk.def
      	* gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
      	* gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
      	gtk-demo}.exe and share/gtk-2.0.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
      	Implement by setting or clearing the WS_EX_TOOLWINDOW extended
      	window style.
      	(gdk_window_set_type_hint): Add all cases to the switch (not all
      	do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
      	calling gdk_window_set_skip_taskbar_hint(). This means that GTK
      	won't know that the skip_taskbar hint is on for the window, is
      	this bad?
  13. 12 Dec, 2002 1 commit
  14. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      	* gtk/gtkfontsel.c: same as above, except with
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	* gtk/gtkprogressbar.c: same as above, except with
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      	* gtk/gtkprogress.c: port get_type to GObject API.
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
  15. 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
              * 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/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_
              * 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
              * gdk/x11/gdkcolor-x11.c: remove duplicate doc string for
              * 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
              * 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.
  16. 02 Nov, 2002 1 commit
    • Owen Taylor's avatar
      Add startup notification hooks - mostly based on patch by Havoc Pennington · accc3a33
      Owen Taylor authored
      Sat Nov  2 00:22:33 2002  Owen Taylor  <otaylor@redhat.com>
              Add startup notification hooks - mostly based on patch
              by Havoc Pennington in #96772.
              * gdk/gdk.h gdk/x11/gdkdisplay-x11.c
              gdk/{win32,linux-fb}/gdkmain-*.c: (gdk_notify_startup_complete):
              new function that indicates an application has finished starting
              * gdk/x11/gdkmain-x11.c gdk/x11/gdkdisplay-x11.c
              (_gdk_windowing_set_default_display): store value of
              DESKTOP_STARTUP_ID on the default screen, and clear it from the
              * gdk/x11/gdkdisplay-x11.c:
              Set _NET_STARTUP_ID hint on display's group leader window.
              * gtk/gtkwindow.c (gtk_window_set_auto_startup_notification):
              function to toggle whether we automatically broadcast that we've
              started up, after mapping the first toplevel window.
              (gtk_window_map): call gdk_screen_notify_startup_complete() by
              default, unless enabled by above.
              * gtk/gtkmain.c gtk/gtkcombo.c gtk/gtktoolbar.c:
              Couple of warning fixes.
  17. 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
              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.
              * 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.
  18. 09 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · cb7c950a
      Manish Singh authored
      Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>
              * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
              gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
              gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup
  19. 23 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Privatize gtk_selection_request, gtk_selection_incr_event · b33ec36d
      Owen Taylor authored
      Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
              Privatize gtk_selection_request, gtk_selection_incr_event
              gtk_selection_notify, gtk_selection_property_notify.
              Add doc note about future deprecation of gtk_selection_clear()
              which. (#85683)
              * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
              Chain up, rather than calling gtk_selection_clear().
  20. 19 Sep, 2002 1 commit
  21. 25 Aug, 2002 1 commit
    • Tor Lillqvist's avatar
      Compile gtk_init_abi_check and gtk_init_check_abi_check when on · f449238d
      Tor Lillqvist authored
      2002-08-25  Tor Lillqvist  <tml@iki.fi>
      	* gtk/gtkmain.c: Compile gtk_init_abi_check and
      	gtk_init_check_abi_check when on G_PLATFORM_WIN32, not just on
      	G_OS_WIN32, to match gtkmain.h (#91649, Masahiro Sakai).
      	(check_sizeof_GtkWIndow, check_sizeof_GtkBox): Mention the
      	-mms-bitfields swicth in addition to -fnative-struct.
  22. 07 Aug, 2002 1 commit
    • Matthias Clasen's avatar
      Fix doc comment. · f1d08f9c
      Matthias Clasen authored
      	* gtk/gtkmain.c (gtk_init): Fix doc comment.
      	* gtk/gtktreemodel.c (gtk_tree_path_new_from_indices): Make the
      	doc comment gtk-doc-grokkable.
  23. 04 Aug, 2002 1 commit
  24. 20 Jun, 2002 3 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
    • 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().
              * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
              * 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.
    • Owen Taylor's avatar
      Get rid of gtk_style_get_font_for_display(), make gtk_style_get_font() · 4b47bcb3
      Owen Taylor authored
      Thu Jun 20 15:17:14 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(),
              make gtk_style_get_font() warn for multihead if called
              on an unattached style.
              * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display();
              this makes gtktext not multihead safe, but it doesn't matter;
              it's ENABLE_BROKEN anyways.
              * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[])
  25. 14 Jun, 2002 1 commit
    • Owen Taylor's avatar
      ri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com> · b32da181
      Owen Taylor authored
              * gdk/gdkwindow.c (gdk_window_update_idle): Add
              missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
              (Report of non-thread-safety from Nicholas Allen)
              * gtk/gtkmain.c (rewrite_events_translate): Fix sign
              problem with coordinate translation. (Fix from
              Robin Lu, #85229)
  26. 30 May, 2002 1 commit
    • Michael Meeks's avatar
      don't leak the paths. · 7796a684
      Michael Meeks authored
      2002-05-24  Michael Meeks  <michael@ximian.com>
      	* gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
  27. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
  28. 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
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              * 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
              * 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.
  29. 18 Apr, 2002 1 commit
    • Tor Lillqvist's avatar
      gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) Fix typo, thanks to · 40d637ec
      Tor Lillqvist authored
      2002-04-18  Tor Lillqvist  <tml@iki.fi>
      	* gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
      	* gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
      	thanks to David Sterba for noticing.
      	* gtk/gtkmain.h
      	* gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
      	GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
      	Win32 whether compiled with -fnative-struct or not. Unfortunately
      	this wan't noticed until now. So, from now on, check some other
      	struct, too, for which the use of -fnative-struct still
      	matters. GtkBox is one such.
  30. 29 Mar, 2002 1 commit
  31. 20 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, · 8acfd1e9
      Owen Taylor authored
      Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
              a lot of warnings with Forte CC, mostly implicit
              casts between void * and function pointers.
              * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
              state field is not a GdkModifierType. (Also #73900)
  32. 03 Mar, 2002 2 commits
    • Hans Breuer's avatar
      make rewrite_event_for_window() static gtk_rc_clear_realized_style() · 751705f9
      Hans Breuer authored
      2002-03-03  Hans Breuer  <hans@breuer.org>
      	* gtk/gtkmain.c : make rewrite_event_for_window() static
      	* gtk/gtkrc.c : gtk_rc_clear_realized_style() static
      	* gtk/makefile.msc.in : adapt to makeenums build changes
      	* gtk.def : sorted alphabetical again
    • Owen Taylor's avatar
      Fixes for uninstalled operation with module suffixes other than .so and in · b47b15f6
      Owen Taylor authored
      Sat Mar  2 23:08:23 2002  Owen Taylor  <otaylor@redhat.com>
              Fixes for uninstalled operation with module suffixes
              other than .so and in general for platforms like AIX where
              the module suffix isn't predictable. (#72185, problems
              reported by Miroslaw Dobrzanski-Neumann)
              * modules/input/Makefile.am (gtk.immodules): Query .la
              files rather than shared objects in .libs when creating the
              uninstalled gtk.immodules file.
              * gtk/gtkmain.c (_gtk_find_module): Look for .la files
              after looking for the normal soname extension to handle
              cases where the soname extension isn't predictable,
              like AIX.
              * gtk/gtkthemes.c (gtk_theme_engine_load): Don't
              call g_module_build_path... leave that to
              * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init):
              tests/testgtk.c (test_init): tests/testtext.c (test_init)
              tests/testdnd.c (test_init): Point gdk-pixbuf to .la
              files rather than poking in .libs for .so files.
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove
              .libs from GDK_PIXBUF_MODULEDIR.
  33. 02 Mar, 2002 2 commits
    • Owen Taylor's avatar
      Clamp @Max parameter passed in to [0, MAX_SIZE], improve docs. Fix default · 8d3278f0
      Owen Taylor authored
      Sat Mar  2 15:48:04 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkentry.c (gtk_entry_new_with_max_length,
              gtk_entry_set_max_length): Clamp @Max parameter passed in to
              [0, MAX_SIZE], improve docs. Fix default and range
              for ::max-length property, range for ::ncursor_position,
              ::selection_bound properties. (#55916, Vitaly Tishkov)
              * gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo
    • Owen Taylor's avatar
      Robustify tracking of pointer grab window. · b54e5f4c
      Owen Taylor authored
      Fri Mar  1 18:39:44 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h,
              gdkwindow-x11.c}: Robustify tracking of pointer grab window.
              * gdk/x11/gdkmain-x11.c: Keep track of current keyboard
              grab window.
              * gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only,
              gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk
              API for finding out current grab information.
              * gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events
              so that the effective behavior of owner_events = TRUE is changed
              to "deliver events to same window group normally" instead
              of "deliver events to same application normally. #69934
              * gtk/gtkrange.c: Use an explicit gtk_grab_add() so that
              it works within the GtkList combo, where there is a
              owner_events = FALSE gdk_pointer_grab() already in effect.
              (#65006, reported by Damon Chaplin)
  34. 21 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Implement "fuzzy" key binding lookups; allow matches on key and level but · 708e1a95
      Owen Taylor authored
      Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
              allow matches on key and level but not group. Also, implement
              ignoring "consumed modifiers correctly."
              * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
              * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings
              * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
              the group for key release events as well as key press events.
              * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Rename unused_modifiers to consumed_modifiers, make the docs and
              non-Xkb implementation match the Xkb implementation.
              * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
              doc and parameter name changes.
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              XkbTranslateKeyCode doesn't handle LockMask, we need to handle
              it ourselves.
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
              <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
              to allow dealing with ISO_Left_Tab.
              * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
              gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
              Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
              or <Shift>Tab both are equivalent as a binding specifier.)
              * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
              GTK_RUN_ACTION, so you can bind an accelerator to it.
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
              gdk_unicode_to_keyval on the mnemonic character.
              * tests/testgtk.c: Add a test for the new fuzzy key binding matching.
  35. 19 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add routines _gtk_find_module(), _gtk_get_module_path() to look up a · a255d9cd
      Owen Taylor authored
      Mon Feb 18 23:16:16 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkmain.[ch]: Add routines _gtk_find_module(),
              _gtk_get_module_path() to look up a module of an arbitrary type in
              a standard fashion. (#68474)
              * gtk/gtkrc.c: Make module_path keyword warn and do
              nothing. Remove the im_module_path keyword.
              * gtk/gtkrc.c (gtk_rc_get_im_module_path): Fix
              to return the standard path instead of one determined
              from im_module_path and GTK_IM_MODULE_PATH.
              * gtk+-2.0.pc.in: Add gtk_host to go along with gtk_binary_version.
  36. 13 Feb, 2002 1 commit
    • Owen Taylor's avatar
      g_warning() if setting the local fails, like gdk_set_locale() did. · 6b838a22
      Owen Taylor authored
      Wed Feb 13 12:41:44 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkmain.c (gtk_init_check): g_warning() if setting
              the local fails, like gdk_set_locale() did.
              * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list):
              Don't free local_list if local_count == 0. (#71241, reported
              by Kevin Vandersloot.)
              * gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list):
              Clean up list == NULL handling and failure.