1. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Implement keynav for the color picker (only on X11 currently, since GDK · 2925aee8
      Matthias Clasen authored
      2004-11-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
      	picker (only on X11 currently, since GDK doesn't support pointer
      	warping). Space and Return pick a color, Esc cancels the picking,
      	arrow keys move the pointer by single pixels, Alt-arrow combinations
      	move the pointer by 20 pixels.  (#135385, Frances Keenan)
      2925aee8
  2. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 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)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  3. 14 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      Add a11y relations between the color wheel and the spin buttons. (#132745, · 321cedab
      Matthias Clasen authored
      2004-04-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorsel.c: Add a11y relations between the color
      	wheel and the spin buttons.  (#132745, Padraig, O'Briain)
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
      	the meaning of size == -1.
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept
      	a size of -1.  (#137436, Brian Cameron)
      321cedab
  4. 06 Mar, 2004 1 commit
  5. 03 Mar, 2004 1 commit
    • Owen Taylor's avatar
      #109594, reported by Olivier Ripoll · 0d898ffc
      Owen Taylor authored
      Wed Mar  3 16:47:10 2004  Owen Taylor  <otaylor@redhat.com>
      
               #109594, reported by Olivier Ripoll
      
              * gtk/gtkentry.c (gtk_entry_size_request): Use max of
              width and digit width for gtk_entry_set_width_chars,
              and round up.
      
              * gtk/gtkcolorsel.c (gtk_color_selection_init): Set the
              width of the entry to 7 chars.
      0d898ffc
  6. 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
  7. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  8. 12 Nov, 2003 1 commit
  9. 05 Nov, 2003 1 commit
    • Matthias Clasen's avatar
      Change the ranges for Saturation and Value to be 0-100 instead of 0-255, · 0a80b63b
      Matthias Clasen authored
      Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorsel.c (update_color):
      	(make_label_spinbutton):
      	(adjustment_changed): Change the ranges for Saturation and
      	Value to be 0-100 instead of 0-255, since these axes of HSV
      	are usually expressed in percent.  (#121519, Gregory Merchan)
      Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorsel.c (update_color):
      	(make_label_spinbutton):
      	(adjustment_changed): Change the ranges for Saturation and
      	Value to be 0-100 instead of 0-255, since these axes of HSV
      	are usually expressed in percent.  (#121519, Gregory Merchan)
      0a80b63b
  10. 02 Aug, 2003 1 commit
    • Matthias Clasen's avatar
      Accept drops with the wrong format, since the KDE color chooser · 3d4c726c
      Matthias Clasen authored
      2003-08-02  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcolorsel.c (color_sample_drop_handle)
      	(palette_drop_handle):
      	* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  Accept drops with the
      	wrong format, since the KDE color chooser incorrectly drops application/x-color with
      	format 8.
      3d4c726c
  11. 23 Jul, 2003 1 commit
  12. 22 May, 2003 1 commit
  13. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  14. 31 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Deprecate. (#60582) · 46d15e32
      Matthias Clasen authored
      2003-01-31  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkpixbuf.h:
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
      	(gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
      
      	* gtk/gtkcolorsel.h:
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
      	Deprecate.  (#98167)
      46d15e32
  15. 30 Jan, 2003 1 commit
    • Daniel Elstner's avatar
      Explicitely draw an opaque rectangle using the background color rather · 9ca772ac
      Daniel Elstner authored
      2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
      
      	* gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
      	rectangle using the background color rather than relying on
      	gdk_window_clear_area(), so that the palette works properly with
      	pixmap themes.
      
      	* demos/gtk-demo/colorsel.c: Install an "expose_event" handler
      	to fill the drawing area in the background color.
      9ca772ac
  16. 20 Jan, 2003 1 commit
  17. 10 Dec, 2002 1 commit
  18. 08 Dec, 2002 1 commit
  19. 28 Nov, 2002 1 commit
  20. 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_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* 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
      	now).
      
      	* 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,
      	if GTK_COMPILATION.
      
      	* 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.
      bc035915
  21. 13 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Add a const here. · 050c933b
      Matthias Clasen authored
      	* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
      
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkimcontextsimple.c:
      	* gtk/gtkstyle.c: Mark constant data as const to give the compiler
      	a chance to put it in a readonly section.  (#75754)
      050c933b
  22. 08 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Put into #ifdef DO_BLINK to avoid an unused static function. (#97965) · 2d1ce5a4
      Matthias Clasen authored
      	* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to
      	avoid an unused static function.  (#97965)
      
      	* gtk/gtktextiter.c (backward_line_leaving_caches_unmodified):
      	* gtk/gtkstyle.c (radio_aa_bits):
      	(draw_spin_entry_shadow): #if-0-out unused static functions and
      	variables.  (#97965)
      
      	* gtk/gtktextview.c (text_window_get_allocation):
      	* gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size):
      	(gtk_color_selection_get_palette_color):
      	(gtk_color_selection_unset_palette_color): Remove unused static
      	functions.  (#97965)
      
      	* gtk/gtkcolorsel.c
      	(gtk_color_selection_set_change_palette_with_screen_hook): Fix doc
      	comment.
      2d1ce5a4
  23. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · c77265d3
      Manish Singh authored
      Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
              gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
              Deprecation cleanup
      
              * gtk/gtkcolorseldialog.c: make window not resizable (lost
              accidently in the previous cleanup)
      c77265d3
  24. 07 Oct, 2002 3 commits
    • Owen Taylor's avatar
      Free the private data. (#84903, Matthias Clasen) · 6dde472c
      Owen Taylor authored
      Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
              Free the private data. (#84903, Matthias Clasen)
      6dde472c
    • Owen Taylor's avatar
      Use a pixbuf to set the drag icon, combine code to create drag icons · 123d1fb8
      Owen Taylor authored
      Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c (palette_drag_begin): Use
              a pixbuf to set the drag icon, combine code
              to create drag icons (Fixes #80092, #80093)
      
              * gtk/gtkcolorsel.c (get_screen_color): Don't warn
              on failure to grab keyboard/mouse. (#80085)
      
              * gtk/gtkcolorsel.c (palette_press): Return FALSE,
              so DND initiation is possible.
      
              * gtk/gtkcolorsel.c (palette_release): Set the color
              from the palette on release, not press.
      
              * tests/testgtk.c (create_color_selection): Use
              gtk_widget_show_all()
      123d1fb8
    • Owen Taylor's avatar
      - Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks, · 253458ec
      Owen Taylor authored
      Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
              gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
      
              - Replace GdkPointerHooks with a multihead-safe
                GdkDisplayPointerHooks, leave GdkPointerHooks
                around for singlehead.
              - Add gdk_display_get_pointer() to get the pointer
                location with the screen it is on.
      
              * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
              Change gdk_screen_get_window_at_pointer() to
              gdk_display_get_window_at_pointer().
      
              * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
              tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
              not gdk_screen_get_window_at_pointer().
      
              * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
              safe.
      
              * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
              since it is useful for writing code that doesn't
              know the dcurrent state but needs a clean colormap.
      
              * gtk/gtkrc.c: When loading the settings for a particular
              screen, only reset toplevels on that screen.
      
              * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
              that should have been #ifndef GTK_MULTIHEAD_SAFE.
      253458ec
  25. 27 Sep, 2002 1 commit
  26. 16 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Stockify color picker icon. (#89880) · 703b02db
      Matthias Clasen authored
      	* gtk/stock-icons/stock_color_picker_25.png:
      	* gtk/stock-icons/Makefile.am (VARIABLES1):
      	* gtk/gtkstock.h (GTK_STOCK_COLOR_PICKER):
      	* gtk/gtkiconfactory.c (get_default_icons):
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): Stockify color
      	picker icon.   (#89880)
      703b02db
  27. 10 Jul, 2002 1 commit
  28. 20 Jun, 2002 1 commit
    • 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
  29. 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_color_selection_set_change_palette_hook()
      
      	* 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
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* 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
      	unrealizing.
      
      	* 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
      	variables.
      
      	* 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.
      4632fb81
  30. 26 Feb, 2002 1 commit
  31. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. · a504db9e
      Owen Taylor authored
      Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
      	#72182.
      
      	* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
      	gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
      	gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
      	Squash trailing commas on enumerations.
      
      	* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
      	of 1 << 31 to work around AIX compiler problem. (C standard
      	seems to imply that compiler is required to use an unsigned
      	type for the enum value in this case.)
      
      	* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.
      
      	* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
      	compilers may choose to use a signed type for bitfields.
      a504db9e
  32. 20 Feb, 2002 1 commit
  33. 16 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Add key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown · 59fc8ff8
      Owen Taylor authored
      Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
              Add key bindings on GtkScrolledWindow for arrow keys,
              PageUp/PageDown Home/End to scroll the window.
              Bind Control-[Shift]-Tab to focus out of the scrolled
              window entirely. Allow the scrolled window to be
              focused if no child can be focused. (#63480)
      
              * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
              check - if we have visible but not mapped widgets
              (inside a unshown notebook tab, for instance), we need
              to track their size. (#65087, reported by Damon Chaplin.)
      
              * gtk/gtkcolorsel.c (palette_change_color): Shut up
              a warning.
      59fc8ff8
  34. 07 Feb, 2002 1 commit
    • Padraig O'Briain's avatar
      Change popup_menu signal to return gboolean instead of void. This allows · 5bc23500
      Padraig O'Briain authored
      * gtk/gtkwidget.[ch]:
      Change popup_menu signal to return gboolean instead of void. This
      allows the keypress which invokes the signal to be propagated to the
      focus widgets ancestors if not handled by the focus widget.
      
      * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c:
      Change signature of popup_menu signal handler to return gboolean
      instead of void and return TRUE in the signal handler
      5bc23500
  35. 17 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Mark children as composite. (#66360) · 77c28630
      Matthias Clasen authored
              * gtk/gtkcolorsel.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c:
              Mark children as composite. (#66360)
      
              * gtk/gtkwidget.c (gtk_widget_push_composite_child): Explain
              composite children some more. (#66360)
      77c28630
  36. 03 Jan, 2002 1 commit
    • Anders Carlsson's avatar
      Free dash list if necessary. · a11baab1
      Anders Carlsson authored
      2002-01-03  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
      	necessary.
      
      	* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.
      
      	* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
      	if it's NULL.
      a11baab1
  37. 06 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs. (#66383) · 31df9723
      Matthias Clasen authored
              * gtk/gtklabel.c: Fix docs. (#66383)
      
              * gtk/gtkbbox.c (gtk_button_box_set_child_secondary): Fix docs.
              (#66278, #66280)
      
              * gdk/gdkwindow.h (gdk_window_get_deskrelative_origin),
              gdk/gdkimage.h (gdk_image_get): Deprecate. (#66208)
      
              * gtk/gtkcolorsel.c (gtk_color_selection_set_update_policy):
              Don't emit a g_warning() about being deprecated. (#66208)
      
              * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_widget): Add docs.
      
              * gtk/gtkcontainer.c: Doc fixes.
      
              * gtk/gtkliststore.c (gtk_list_store_clear): Add docs; misc doc fixes.
      
              * gtk/gtkstyle.c (gtk_style_attach): Add docs.
      
              * gdk-pixbuf.h (gdk_pixbuf_ref, gdk_pixbuf_unref,
              gdk_pixbuf_animation_ref, gdk_pixbuf_animation_unref):
              Deprecate. (#66208)
      
              * gtk/tmpl/gtklabel.sgml: Remove redundant docs. (#66383)
      
              * gtk/tree_widget.sgml: Typo fix. (#66256)
      
              * gdk-pixbuf/Makefile.am (SCAN_OPTIONS): Add --deprecated-guards.
      
              * gtk/tmpl/gtktext.sgml, gtk/tmpl/gtktree.sgml,
              gtk/tmpl/gtktreeitem.sgml: Updates.
      31df9723
  38. 04 Dec, 2001 1 commit
    • Owen Taylor's avatar
      Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy · feca5a64
      Owen Taylor authored
      Tue Dec  4 12:06:13 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcolorsel.c: Ref and sink priv->tooltips in
      	init() and unref priv->tooltips in destroy rather
      	than calling gtk_object_destroy() which has no
      	effect on memory management. (#66104, HideToshi
      	Tajima)
      	* gtk/gtkcolorsel.c (palette_set_color): Use g_object_set_data_full()
      	so we free the when the object is freed. (Fixes memory
      	leak, #66096, HideToshi Tajima)
      	* gdk/gdkevents.c (gdk_synthesize_window_state): Use
      	a full GdkEvent structure to avoid reads of uninitialized/
      	invalid memory in gdk_event_put() (#65877, patch
      	from Hidetoshi Tajima)
      feca5a64