]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoget logic right, #66249
Jonathan Blandford [Sat, 8 Dec 2001 01:10:52 +0000 (01:10 +0000)]
get logic right, #66249

Fri Dec  7 20:06:14 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (validate_visible_area): get logic right,
#66249

* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where
removing a node ended up with a corrupt tree.  Really really nasty
bug.
(_gtk_rbtree_debug_spew): new debug helper function
(_fixup_validation): new inline function to clean up code
readability a lot.

22 years agoClose comment.
Owen Taylor [Sat, 8 Dec 2001 00:41:58 +0000 (00:41 +0000)]
Close comment.

Fri Dec  7 19:34:51 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element):
        Close comment.

22 years agoTypo fixes.
Matthias Clasen [Fri, 7 Dec 2001 23:39:54 +0000 (23:39 +0000)]
Typo fixes.

        * gtk/gtkstyle.h: Typo fixes.

        * gtk/gtkstyle.c, gtk/gtktoolbar.c: Add docs.

        * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Fix docs.

        * gtk/tmpl/gtktypeutils.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkstyle.sgml: Add docs.

22 years agoDisplay the XIM status callbacks with a popup window. (Patch from
Owen Taylor [Fri, 7 Dec 2001 23:15:32 +0000 (23:15 +0000)]
Display the XIM status callbacks with a popup window. (Patch from

Fri Dec  7 16:05:22 2001  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c: Display the XIM
        status callbacks with a popup window. (Patch from
        HideToshi Tajima, #50628, somewhat modified.)

22 years agoeach source generation rule needs to use its own temporary file, to avoid
Tim Janik [Fri, 7 Dec 2001 11:08:17 +0000 (11:08 +0000)]
each source generation rule needs to use its own temporary file, to avoid

Fri Dec  7 12:07:15 2001  Tim Janik  <timj@gtk.org>

        * gtk/Makefile.am: each source generation rule needs to use its own
        temporary file, to avoid clashes for parallel builds. fixed rules
        for gtkmarshalers.h and gtkmarshalers.c to use their own temp files.

22 years agofix up my list of "cursors that are actually useful" in gdk_cursor_new()
Havoc Pennington [Fri, 7 Dec 2001 05:27:17 +0000 (05:27 +0000)]
fix up my list of "cursors that are actually useful" in gdk_cursor_new()

2001-12-07  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new): fix up my list of
"cursors that are actually useful" in gdk_cursor_new() docs

22 years agoFix errors in computing the size of the second child.
Owen Taylor [Fri, 7 Dec 2001 04:16:16 +0000 (04:16 +0000)]
Fix errors in computing the size of the second child.

Thu Dec  6 23:09:21 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Fix errors
        in computing the size of the second child.

22 years agoMake button 1 clicks on the trough do pages, button 3 steps. (Patch from
Owen Taylor [Thu, 6 Dec 2001 23:32:48 +0000 (23:32 +0000)]
Make button 1 clicks on the trough do pages, button 3 steps. (Patch from

Thu Dec  6 16:50:17 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrange.c: Make button 1 clicks on the trough
do pages, button 3 steps. (Patch from Hans Breuer
#63735)

22 years agoForgotten file.
Matthias Clasen [Thu, 6 Dec 2001 21:48:22 +0000 (21:48 +0000)]
Forgotten file.

22 years agoFix docs. (#66383)
Matthias Clasen [Thu, 6 Dec 2001 21:38:12 +0000 (21:38 +0000)]
Fix docs. (#66383)

        * 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.

22 years agouhmm, I obviously forgot to commit my ChangeLog entry yesterday...
Sven Neumann [Wed, 5 Dec 2001 13:55:14 +0000 (13:55 +0000)]
uhmm, I obviously forgot to commit my ChangeLog entry yesterday...

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Wed, 5 Dec 2001 09:23:00 +0000 (09:23 +0000)]
Updated Norwegian (bokmål) translation.

2001-12-05  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

22 years agorestore the else case of #ifdef __GNUC__ #66225
Hidetoshi Tajima [Wed, 5 Dec 2001 05:49:41 +0000 (05:49 +0000)]
restore the else case of #ifdef __GNUC__ #66225

* gtk/gtktreeprivate.h: restore the else case of #ifdef __GNUC__
#66225

22 years agogtk/gtkmain.c g_module_symbol takes a gpointer *, not just a gpointer.
Manish Singh [Wed, 5 Dec 2001 02:49:32 +0000 (02:49 +0000)]
gtk/gtkmain.c g_module_symbol takes a gpointer *, not just a gpointer.

2001-12-04  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmain.c
        * gtk/queryimmodules.c: g_module_symbol takes a gpointer *, not just
        a gpointer.

        * gtk/gtkwidget.c (gtk_widget_push_composite_child): minor cosmetic
        correction to docs.

        * demos/gtk-demo/item_factory.c: add GTK_WINDOW() cast

22 years agoclose comment.
Sven Neumann [Wed, 5 Dec 2001 02:14:27 +0000 (02:14 +0000)]
close comment.

2001-12-05  Sven Neumann  <sven@gimp.org>

* gtk/gtkwidget.c (gtk_widget_reset_shapes): close comment.

* gtk/queryimmodules.c: g_dir_read_name() returns const.

22 years agoremove g_assert_not_reached() that was bogus, since we demand-create the
Havoc Pennington [Wed, 5 Dec 2001 01:43:48 +0000 (01:43 +0000)]
remove g_assert_not_reached() that was bogus, since we demand-create the

2001-12-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
g_assert_not_reached() that was bogus, since we demand-create the
tag info. reported by Chris Phelps

        Jump through assorted hoops to fix bug from Chris Phelps where
removing tags from the table resulted in btree trying to
access tag->table

* gtk/gtktextbuffer.c: set up mechanics of adding/removing
ourselves to the tag table

* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer)
(_gtk_text_tag_table_remove_buffer): private cruft to
let us notify buffer of disappearing tags

* gtk/gtktexttag.h: remove BTreeNode typedef from this public
header, put it in tagprivate

* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
tag_removed; it's emitted too late.
(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
this

Padding for ABI-compat expansion

* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
(struct _GtkTextAppearance): one pad in here too

* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here

* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
since action signals etc. seem pretty likely

* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding

* gtk/gtktexttag.h (struct _GtkTextTagClass): padding

* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding

22 years agoDeprecate. (#65851)
Matthias Clasen [Wed, 5 Dec 2001 00:06:40 +0000 (00:06 +0000)]
Deprecate. (#65851)

        * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)

        * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)

        * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.

        * gtk/tmpl/gtkwidget.sgml: Updates.
        * gtk/Makefile.am (IGNORE_HFILES): Remove gtktextchild.h.

22 years agoremove gtk_tree_view_column_cell_event, #62084.
Jonathan Blandford [Tue, 4 Dec 2001 23:52:14 +0000 (23:52 +0000)]
remove gtk_tree_view_column_cell_event, #62084.

Tue Dec  4 18:51:44 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.h: remove gtk_tree_view_column_cell_event,
#62084.

22 years agoMinor fix.
Jonathan Blandford [Tue, 4 Dec 2001 23:49:57 +0000 (23:49 +0000)]
Minor fix.

Tue Dec  4 18:38:35 2001  Jonathan Blandford  <jrb@redhat.com>

* demos/gtk-demo/main.c: (create_tree): Minor fix.

* docs/tree-column-sizing.txt: Update

* gtk/gtkrbtree.[ch]: Massive work to support validation.

* gtk/gtktreemodel.c: Doc fixes.

* gtk/gtktreeview.c: Incremental reflow added.
* gtk/gtktreeviewcolumn.c: ditto
* gtk/gtktreeviewcolumn.h: ditto

22 years agoMinor fix.
Jonathan Blandford [Tue, 4 Dec 2001 23:42:27 +0000 (23:42 +0000)]
Minor fix.

Tue Dec  4 18:38:35 2001  Jonathan Blandford  <jrb@redhat.com>

* demos/gtk-demo/main.c: (create_tree): Minor fix.

* docs/tree-column-sizing.txt: Update

* gtk/gtkrbtree.[ch]: Massive work to support validation.

* gtk/gtktreemodel.c: Doc fixes.

* gtk/gtktreeview.c: Incremental reflow added.
* gtk/gtktreeviewcolumn.c: ditto
* gtk/gtktreeviewcolumn.h: ditto

itty bitty ChangeLog entry.  Big 'ol changes.

22 years agoadd a warning for "invisible" property, #65999
Havoc Pennington [Tue, 4 Dec 2001 22:53:12 +0000 (22:53 +0000)]
add a warning for "invisible" property, #65999

2001-12-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtktexttag.c (gtk_text_tag_set_property): add a warning for
"invisible" property, #65999

22 years agofixed docs
Matt Wilson [Tue, 4 Dec 2001 20:12:42 +0000 (20:12 +0000)]
fixed docs

2001-12-04  Matt Wilson  <msw@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_insert): fixed docs

22 years agoSimplify, make more efficient and fix memory leak when turning quark into
Owen Taylor [Tue, 4 Dec 2001 17:20:41 +0000 (17:20 +0000)]
Simplify, make more efficient and fix memory leak when turning quark into

Tue Dec  4 12:16:31 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_set_property_value):
Simplify, make more efficient and fix memory leak
when turning quark into a string. (#66103, HideToshi
Tajima)

22 years agoRef and sink priv->tooltips in init() and unref priv->tooltips in destroy
Owen Taylor [Tue, 4 Dec 2001 17:12:35 +0000 (17:12 +0000)]
Ref and sink priv->tooltips in init() and unref priv->tooltips in destroy

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)

22 years agoFill in color fields to black for transparent colors since we'll later
Owen Taylor [Tue, 4 Dec 2001 16:47:49 +0000 (16:47 +0000)]
Fill in color fields to black for transparent colors since we'll later

Tue Dec  4 11:45:45 2001  Owen Taylor  <otaylor@redhat.com>
* io-xpm.c (pixbuf_create_from_xpm): Fill in color
fields to black for transparent colors since we'll
later initialize pixels from them. (Fixes purify
errors, #66093, HideToshi Tajima)

22 years agoRevert my last mistaken change - toggle-size-request doesn't take a
Owen Taylor [Tue, 4 Dec 2001 16:08:18 +0000 (16:08 +0000)]
Revert my last mistaken change - toggle-size-request doesn't take a

Tue Dec  4 11:06:54 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenuitem.c: Revert my last mistaken change -
        toggle-size-request doesn't take a requisition.

        * gtk/gtkmenuitem.c (gtk_menu_item_class_init): Fix
        reference to marshaler that no longer exists.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Tue, 4 Dec 2001 09:24:15 +0000 (09:24 +0000)]
Updated Slovak translation.

2001-12-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoPatch from Bill Haneman (with many modifications) to make the focus color
Owen Taylor [Tue, 4 Dec 2001 03:27:30 +0000 (03:27 +0000)]
Patch from Bill Haneman (with many modifications) to make the focus color

Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>

Patch from Bill Haneman (with many modifications) to make
the focus color work on dark themes and to make the
focus line width configurable. (#61079, #63074)

        * gtk/gtkwidget.c: Add style properties,
::focus-widget, ::focus-line-width, and ::focus-padding.

* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
state argument as well so we can use fg[STATE] to
draw instead of always drawing with black.
Cange paint_focus() to respect GtkWidget::focus-width
and GtkWidget::focus-line-pattern. Fix continuity
problem where the default 1-1 stipple had a blob
in one corner and a gap in the other. Change the
interpretation of x/y/width/height to be the bounding
box of the focus rect instead of the rectangle
passed to gdk_draw_rectangle.

* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
and ::focus-line-padding.

* gtk/gtkentry.c: Handle :;focus-width property; cleanup
and remove duplicated code; fix drawing of focus rectangle
when interior-focus = FALSE. (#63072, #63073)

* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
Range and TreeViewColumn will need more extensive fixing.

* gtk/gtkcolorsel.c: Honor focus line attributes when
drawing the focus on the color swatches. (#63071)

* gtk/gtkhsv.c: Honor focus line attributes when
drawing the focus for the ring and triangle.

* docs/widget_geometry.txt: Start at documenting how
various widgets are drawn.

* gtk/gtkbutton.c (_gtk_button_paint): Export
_gtk_button_paint() librarywide, so we don't have
duplicate a bunch of code in gtktogglebutton.c.

* gtk/gtktogglebutton.c: Use _gtk_button_paint().

22 years agoremove VOID:BOXED,POINTER and NONE:POINTER. and now everyone else has to
Jonathan Blandford [Tue, 4 Dec 2001 02:06:21 +0000 (02:06 +0000)]
remove VOID:BOXED,POINTER and NONE:POINTER. and now everyone else has to

Mon Dec  3 21:04:13 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkmarshalers.list: remove VOID:BOXED,POINTER and
NONE:POINTER.
and now everyone else has to recompile their GTK too.... (-:

22 years agoUpdated Swedish translation.
Christian Rose [Tue, 4 Dec 2001 00:36:50 +0000 (00:36 +0000)]
Updated Swedish translation.

2001-12-04  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoReturn FALSE from expose handlers.
Alex Larsson [Mon, 3 Dec 2001 22:11:40 +0000 (22:11 +0000)]
Return FALSE from expose handlers.

2001-12-03  Alex Larsson  <alexl@redhat.com>

* gtk/gtkaccellabel.c:
* gtk/gtkarrow.c:
* gtk/gtkcolorsel.c:
* gtk/gtkcontainer.c:
* gtk/gtklabel.c:
* gtk/gtktextview.c:
* gtk/gtktogglebutton.c:
* gtk/gtktreeview.c:
* gtk/gtkwindow.c:
Return FALSE from expose handlers.

22 years agoUpdates.
Matthias Clasen [Mon, 3 Dec 2001 21:28:47 +0000 (21:28 +0000)]
Updates.

        * gdk/tmpl/input_devices.sgml,
        gdk/gdk-sections.txt, gdk/tmpl/windows.sgml: Updates.

22 years agoif we use pointers, we should free the previous pointer first (if it
Kristian Rietveld [Mon, 3 Dec 2001 21:20:12 +0000 (21:20 +0000)]
if we use pointers, we should free the previous pointer first (if it

Mon Dec  3 21:15:59 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreedatalist.c (_gtk_tree_data_list_value_to_node): if
        we use pointers, we should free the previous pointer first (if
        it exists), before we set a new pointer. (#64726)

        * gtk/gtktreeprivate.h: get rid of cursor_drag

        * gtk/gtktreeview.c (gtk_tree_view_unrealize): remove check
        for cursor_drag
        (gtk_tree_view_bin_expose): don't directly return in the while
        loop
        (gtk_tree_view_class_init): indentend expanders by default
        (gtk_tree_view_header_focus): only give the button focus
        if it's clickable, visible and the column is reorderable
        (#65539)

        * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
        create and free cursor

22 years agoUpdated Ukrainian Translation
Yuri Syrota [Mon, 3 Dec 2001 15:47:47 +0000 (15:47 +0000)]
Updated Ukrainian Translation

22 years agoFix some bugs with size requisition. (From Bill Haneman) Draw headers and
Owen Taylor [Mon, 3 Dec 2001 15:24:25 +0000 (15:24 +0000)]
Fix some bugs with size requisition. (From Bill Haneman) Draw headers and

Mon Dec  3 10:23:07 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_size_request): Fix
some bugs with size requisition. (From Bill Haneman)
* gtk/gtkcalendar.c: Draw headers and selection in
base/text[SELECTED] instead of fg/bg[SELECTED].
* gtk/gtkcalendar.c: Miscellaneous cleanups to drawing
code and formatting.

22 years agoUpdated Ukrainian Translation
Yuri Syrota [Mon, 3 Dec 2001 10:17:15 +0000 (10:17 +0000)]
Updated Ukrainian Translation

22 years agoHmm, setter functions normally assign the new value to the object field.
Havoc Pennington [Mon, 3 Dec 2001 05:21:53 +0000 (05:21 +0000)]
Hmm, setter functions normally assign the new value to the object field.

2001-12-03  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (set_window_height):
(set_window_width): Hmm, setter functions normally assign the new
value to the object field. Reported by Chris Phelps.

22 years agofile virtual_screen.sgml was initially added on branch gtk-multihead.
Erwann Chenede [Mon, 3 Dec 2001 00:06:43 +0000 (00:06 +0000)]
file virtual_screen.sgml was initially added on branch gtk-multihead.

22 years agoUpdates.
Matthias Clasen [Sun, 2 Dec 2001 22:27:26 +0000 (22:27 +0000)]
Updates.

        * gdk/tmpl/dnd.sgml: Updates.

22 years agoAdd gdk_pixbuf_get_option.
Tor Lillqvist [Sun, 2 Dec 2001 18:03:52 +0000 (18:03 +0000)]
Add gdk_pixbuf_get_option.

2001-11-30  Tor Lillqvist  <tml@iki.fi>

* gdk_pixbuf.def: Add gdk_pixbuf_get_option.

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Sun, 2 Dec 2001 16:36:44 +0000 (16:36 +0000)]
Updated Norwegian (bokmål) translation.

2001-12-01  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

22 years agoadd brief explanation of how to use GtkOptionMenu
Havoc Pennington [Sat, 1 Dec 2001 18:30:49 +0000 (18:30 +0000)]
add brief explanation of how to use GtkOptionMenu

2001-12-01  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtkoptionmenu.sgml: add brief explanation of how to use
GtkOptionMenu

22 years agofile multihead.sgml was initially added on branch gtk-multihead.
Erwann Chenede [Sat, 1 Dec 2001 16:24:52 +0000 (16:24 +0000)]
file multihead.sgml was initially added on branch gtk-multihead.

22 years agoset the signal id to 0 after we disconnect from it
jacob berkman [Fri, 30 Nov 2001 23:17:29 +0000 (23:17 +0000)]
set the signal id to 0 after we disconnect from it

2001-11-30  jacob berkman  <jacob@ximian.com>

* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set the
signal id to 0 after we disconnect from it

22 years agoDeprecate.
Matthias Clasen [Fri, 30 Nov 2001 22:55:28 +0000 (22:55 +0000)]
Deprecate.

        * gdk/gdkdrawable.h (gdk_drawable_ref, gdk_drawable_unref),
        gdk/gdkcolor.h (gdk_colormap_ref, gdk_colormap_unref),
        gdk/gdkdnd.h (gdk_drag_context_ref, gdk_drag_context_unref),
        gdk/gdkgc.h (gdk_gc_ref, gdk_gc_unref):  Deprecate.

        * gdk/gdkvisual.h: Use GDK_DISABLE_DEPRECATED, not
        GTK_DISABLE_DEPRECATED.

        * gdk/gdkcolor.c (gdk_colormap_ref, gdk_colormap_unref),
        gdk/gdkgc.c (gdk_gc_ref, gdk_gc_unref): Document.

        * gdk/tmpl/colors.sgml, gdk/tmpl/pixmaps.sgml, gdk/tmpl/dnd.sgml,
        gdk/tmpl/gcs.sgml: Document ref and unref functions as deprecated.

22 years agoSanitize move/resize code, removing various bad, non-functional hacks.
Owen Taylor [Fri, 30 Nov 2001 21:51:46 +0000 (21:51 +0000)]
Sanitize move/resize code, removing various bad, non-functional hacks.

Fri Nov 30 16:37:01 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkcombo.c (gtk_combo_popup_list): Sanitize
move/resize code, removing various bad, non-functional
hacks. (Fixes #65048, reported by Damon Chaplin.)

22 years agoPatch from Hidetoshi Tajima to fix bad match error when target drawable is
Owen Taylor [Fri, 30 Nov 2001 21:14:07 +0000 (21:14 +0000)]
Patch from Hidetoshi Tajima to fix bad match error when target drawable is

Fri Nov 30 16:12:21 2001  Owen Taylor  <otaylor@redhat.com>
* gdk/gdkpango.c: Patch from Hidetoshi Tajima to fix
bad match error when target drawable is not the
same depth as the root window. (#65841)
* HACKING: Update.

22 years agoFix alignment problem in deserialization, (#65785, reported by Hidetoshi
Owen Taylor [Fri, 30 Nov 2001 21:01:01 +0000 (21:01 +0000)]
Fix alignment problem in deserialization, (#65785, reported by Hidetoshi

Fri Nov 30 15:55:34 2001  Owen Taylor  <otaylor@redhat.com>
* gdk-pixdata.c (gdk_pixdata_deserialize): Fix
alignment problem in deserialization, (#65785,
reported by Hidetoshi Tajima)

22 years agoTypo fix.
Matthias Clasen [Thu, 29 Nov 2001 23:08:38 +0000 (23:08 +0000)]
Typo fix.

        * gdk/gdkwindow.c: Typo fix.

        * gtk/gtk-sections.sgml: Add GtkTextChildAnchor.

        * gdk/tmpl/dnd.sgml: Updates.

        * gdk/tmpl/pango_interaction.sgml: Document GdkPangoAttrEmbossed
        and GdkPangoAttrStipple.

22 years agoadd checks for empty menu items to behave like insensitive items (#59456)
Kristian Rietveld [Thu, 29 Nov 2001 20:36:12 +0000 (20:36 +0000)]
add checks for empty menu items to behave like insensitive items (#59456)

Thu Nov 29 21:35:56 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkmenu.c (gtk_menu_motion_notify): add checks for
        empty menu items to behave like insensitive items (#59456)

        * gtk/gtkmenuitem.c (gtk_real_menu_item_activate_item): select
        next item if the first item in the menu is a tear off item
        (#59456-2, suggestion by Matthias Clasen)

        * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
        (gtk_menu_shell_button_release), (gtk_menu_shell_entry_notify),
        (gtk_menu_shell_leave_notify), (gtk_real_menu_shell_move_current),
        (gtk_real_menu_shell_activate_current): add check, so empty
        menu items behave like insensitive items (#59456)

        * gtk/gtkmenuitem.[ch]: add _gtk_menu_item_is_selectable to make
        the checks more readable ...

        * gtk/gtkmenushell.c (gtk_menu_shell_button_press),
        (gtk_menu_shell_button_release): causes the menu to dropdown if the
        caption is clicked again (#64977)

22 years agoassertion here that we were at the end iterator was not correct; change
Havoc Pennington [Thu, 29 Nov 2001 20:09:41 +0000 (20:09 +0000)]
assertion here that we were at the end iterator was not correct; change

2001-11-29  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
assertion here that we were at the end iterator was not correct;
change code to move us to the end iterator. bug #65731

22 years agoFill in missing error parameters to DecodeHeader and DecodeColormap.
Manish Singh [Thu, 29 Nov 2001 01:39:34 +0000 (01:39 +0000)]
Fill in missing error parameters to DecodeHeader and DecodeColormap.

2001-11-28  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Fill
        in missing error parameters to DecodeHeader and DecodeColormap.

22 years agoRemove improper use of g_locale_to_utf8() to convert from latin-1, and do
Owen Taylor [Thu, 29 Nov 2001 01:15:52 +0000 (01:15 +0000)]
Remove improper use of g_locale_to_utf8() to convert from latin-1, and do

Wed Nov 28 20:05:44 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Remove
improper use of g_locale_to_utf8() to convert from
latin-1, and do it the easy way by building the string
correctly in the first place.

22 years agoConvert atoms to and from atoms for properties of type XA_ATOM. (#65555,
Owen Taylor [Thu, 29 Nov 2001 00:43:24 +0000 (00:43 +0000)]
Convert atoms to and from atoms for properties of type XA_ATOM. (#65555,

Wed Nov 28 19:34:15 2001  Owen Taylor  <otaylor@redhat.com>
* gdk/x11/gdkproperty-x11.c (gdk_property_change, gdk_property_get):
Convert atoms to and from atoms for properties of type XA_ATOM.
(#65555, patch from Hidetoshi Tajima)

22 years agoFix Ximian bug #12125; merged from gdk-pixbuf stable.
Federico Mena Quintero [Thu, 29 Nov 2001 00:13:02 +0000 (00:13 +0000)]
Fix Ximian bug #12125; merged from gdk-pixbuf stable.

2001-11-21  Federico Mena Quintero  <federico@ximian.com>

Fix Ximian bug #12125; merged from gdk-pixbuf stable.

* gdk-pixbuf/io-bmp.c (gdk_pixbuf__bmp_image_load_increment): Use
a simple state machine instead of a scary if/else chain.
(DecodeHeader): Set the reading state.
(DecodeColormap): Set the reading state.
(decode_bitmasks): New function, decodes the bitmasks for
BI_BITFIELDS coding.
(OneLine32): Handle BI_BITFIELDS coding.
(OneLine16): Likewise.

22 years agoRename 'id' parameter to avoid problems with Objective C.
Owen Taylor [Wed, 28 Nov 2001 23:54:30 +0000 (23:54 +0000)]
Rename 'id' parameter to avoid problems with Objective C.

Wed Nov 28 18:37:04 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtksocket.[ch] (gtk_socket_add_id): Rename 'id' parameter
to avoid problems with Objective C.

22 years agoTypo fixes. (#65607)
Matthias Clasen [Wed, 28 Nov 2001 23:41:12 +0000 (23:41 +0000)]
Typo fixes. (#65607)

        * gtk/gtkaccelmap.c: Typo fixes. (#65607)

        * gtk/gtkfixed.c (gtk_fixed_set_has_window, gtk_fixed_get_has_window):
        Fix docs. (#65505)

        * gtk/gtkwindow.c (gtk_window_set_mnemnonic_modifier): Document.

        * gtk/tmpl/gtkwindow.sgml: Document gtk_window_position.

        * gdk/tmpl/dnd.sgml: Document GdkDragProtocol and GdkDragContext.

        * gdk/tmpl/events.sgml: Document gdk_setting_get.

        * gdk/tmpl/fonts.sgml: Document gdk_font_full_name_get and
        gdk_font_full_name_free.

        * gdk/tmpl/windows.sgml: Document gdk_window_register_dnd.

22 years agoMove accounting of menu->tearoff_scrollbar width to here and make sure we
Owen Taylor [Wed, 28 Nov 2001 23:26:17 +0000 (23:26 +0000)]
Move accounting of menu->tearoff_scrollbar width to here and make sure we

Wed Nov 28 18:19:12 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_hints): Move
        accounting of menu->tearoff_scrollbar width to here
        and make sure we have the correct requisition.

        * gtk/gtkmenu.c (gtk_menu_position): Fix fixme
        by using gtk_window_move().

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Force
        the requisition to be updated by calling
        gtk_widget_size_request() (#65440)

        * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_activate):
        queue resize before calling gtk_menu_set_tearoff_state().

22 years agofix typo
Kristian Rietveld [Wed, 28 Nov 2001 21:19:40 +0000 (21:19 +0000)]
fix typo

Wed Nov 28 22:20:44 2001  Kristian Rietveld  <kristian@planet.nl>

        * demos/gtk-demo/editable_cells.c: fix typo

        * demos/gtk-demo/list_store.c (add_columns): remove call to
        gtk_tree_view_column_set_clickable which didn't make sense

22 years agoput the warning explaining the validation error in front of the
Havoc Pennington [Wed, 28 Nov 2001 20:42:15 +0000 (20:42 +0000)]
put the warning explaining the validation error in front of the

2001-11-28  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_paint): put the warning
explaining the validation error in front of the G_BREAKPOINT

* gtk/gtkrange.c (gtk_range_adjustment_value_changed): call
process updates with include_children = FALSE instead of TRUE, so
we redraw the range only, not the whole darn window.  Making
GtkRange a NO_WINDOW widget had weirdly caused the text widget
Trace/breakpoint trap bug to become much easier to trigger.

22 years agoRemove reference to gdkcursors.h.
Owen Taylor [Wed, 28 Nov 2001 19:32:18 +0000 (19:32 +0000)]
Remove reference to gdkcursors.h.

Wed Nov 28 14:12:03 2001  Owen Taylor  <otaylor@redhat.com>
* gdk/Makefile.am (gdk_public_h_sources): Remove reference
to gdkcursors.h.

22 years agoAdd markup to docs.
Matthias Clasen [Wed, 28 Nov 2001 19:08:36 +0000 (19:08 +0000)]
Add markup to docs.

        * gtk/gtkwindow.c (gtk_window_move): Add markup to docs.

22 years ago gdk/tmpl/windows.sgml, gdk/tmpl/general.sgml,
Matthias Clasen [Wed, 28 Nov 2001 19:05:58 +0000 (19:05 +0000)]
    gdk/tmpl/windows.sgml, gdk/tmpl/general.sgml,
        gdk/tmpl/pixmaps.sgml, gdk/tmpl/drawing.sgml,
        gdk/tmpl/gcs.sgml: Updates.

22 years agoforgotten Changelog entry.
Matthias Clasen [Wed, 28 Nov 2001 18:47:27 +0000 (18:47 +0000)]
forgotten Changelog entry.

22 years agoDirectly include the contents of gdkcursors.h in the GdkCursorType enum.
Matthias Clasen [Wed, 28 Nov 2001 18:38:43 +0000 (18:38 +0000)]
Directly include the contents of gdkcursors.h in the GdkCursorType enum.

        * gdk/gdkcursor.h: Directly include the contents
        of gdkcursors.h in the GdkCursorType enum.

        * gdk/gdkcursors.h: Deleted.

        * gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add
        header boilerplate.

        * gdk/Makefile.am: Remove the X-derived-headers rule.

        * gdk/tmpl/cursors.sgml: Document GdkCursor and standard cursors.

22 years agoSome fixes.
Carlos Perelló Marín [Wed, 28 Nov 2001 12:17:36 +0000 (12:17 +0000)]
Some fixes.

2001-11-28  Carlos Perelló Marín <carlos@gnome-db.org>

* es.po: Some fixes.

22 years agoNotify on the ::active property _here_, not in
Owen Taylor [Wed, 28 Nov 2001 01:20:14 +0000 (01:20 +0000)]
Notify on the ::active property _here_, not in

Tue Nov 27 20:17:55 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
Notify on the ::active property _here_, not in
gtk_check_menu_item_set_active.

22 years agoadd 2 properties (PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)
Jonathan Blandford [Tue, 27 Nov 2001 00:14:42 +0000 (00:14 +0000)]
add 2 properties (PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)

Mon Nov 26 19:11:18 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrendererpixbuf.c
(gtk_cell_renderer_pixbuf_class_init): add 2 properties
(PIXBUF_EXPANDER_OPEN and PIXBUF_EXPANDER_CLOSED)

22 years agoAdd long, but horribly sketchy comment about what is going on in this
Owen Taylor [Mon, 26 Nov 2001 02:20:06 +0000 (02:20 +0000)]
Add long, but horribly sketchy comment about what is going on in this

Sun Nov 25 21:19:02 2001  Owen Taylor  <otaylor@redhat.com>
* gdk/x11/gdkgeometry-x11.c: Add long, but horribly sketchy
comment about what is going on in this file.
* gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): Fix
x/y problem.

22 years agoAdded -version-info.
Akira TAGOH [Mon, 26 Nov 2001 00:42:29 +0000 (00:42 +0000)]
Added -version-info.

2001-11-26  Akira TAGOH  <tagoh@redhat.com>

* Makefile.am (libgdk_pixbuf_xlib_1_3_la_LDFLAGS):
Added -version-info.

22 years agoCalculate size based on the _child_ of the menu item, not the menuitem.
Owen Taylor [Mon, 26 Nov 2001 00:19:31 +0000 (00:19 +0000)]
Calculate size based on the _child_ of the menu item, not the menuitem.

Sun Nov 25 18:59:19 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_calc_size):
Calculate size based on the _child_ of the menu item,
not the menuitem. (#65005, Damon Chaplin)
* gtk/gtklistitem.c (gtk_list_item_new_with_label): Add
some extra vertical padding to the label widget ... restores
GTK+-1.2 spacing. (#65085, Damon Chaplin.)

22 years agodemos/pixbuf-demo.c M_PI -> G_PI.
Tor Lillqvist [Sun, 25 Nov 2001 23:36:29 +0000 (23:36 +0000)]
demos/pixbuf-demo.c M_PI -> G_PI.

2001-11-26  Tor Lillqvist  <tml@iki.fi>

* demos/pixbuf-demo.c
* demos/gtk-demo/pixbufs.c: M_PI -> G_PI.

* demos/gtk-demo/main.c (read_line): No flockfile() or
getc_unlocked() on Win32.

2001-11-25  Tor Lillqvist  <tml@iki.fi>

* configure.in
* acconfig.h: As we now use GDir, no need to check for dirent.h.

22 years agofree font_desc when finished (#65266)
Kristian Rietveld [Sun, 25 Nov 2001 22:19:22 +0000 (22:19 +0000)]
free font_desc when finished (#65266)

Sun Nov 25 23:18:39 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktexttag.c (gtk_text_tag_set_property): free font_desc
        when finished (#65266)

Sun Nov 25 23:16:29 2001  Kristian Rietveld  <kristian@planet.nl>

        * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): free
        data after we set the property. (#65264)

Sun Nov 25 23:14:06 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkbutton.c: add destroy method so label_text gets freed
        if it has been allocated (#65268)

22 years agogdk/linux-fb/gdkdrawable-fb2.c update to latest Pango API
Manish Singh [Sat, 24 Nov 2001 21:52:50 +0000 (21:52 +0000)]
gdk/linux-fb/gdkdrawable-fb2.c update to latest Pango API

Sat Nov 24 13:39:51 2001  Manish Singh  <yosh@gimp.org>

        * gdk/linux-fb/gdkdrawable-fb2.c
        * gdk/linux-fb/gdkpango-fb.c: update to latest Pango API

        * gdk/linux-fb/gdkwindow-fb.c: implement gdk_window_show_unraised

        * gdk/linux-fb/gdkfont-fb.c (gdk_font_load): plug memleak on
        set_family

        * gdk/linux-fb/gdkfbswitch.c: minor cleanups

22 years agodon't deactivate menu when menu_item isn't sensitive (#61389)
Kristian Rietveld [Sat, 24 Nov 2001 21:05:10 +0000 (21:05 +0000)]
don't deactivate menu when menu_item isn't sensitive (#61389)

Sat Nov 24 22:05:27 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
        deactivate menu when menu_item isn't sensitive (#61389)

22 years agoFix invalid UTF-8.
Owen Taylor [Sat, 24 Nov 2001 18:20:21 +0000 (18:20 +0000)]
Fix invalid UTF-8.

Sat Nov 24 13:19:58 2001  Owen Taylor  <otaylor@redhat.com>

* nl.po: Fix invalid UTF-8.

22 years agofree path before we return (in case of a failure here)
Kristian Rietveld [Sat, 24 Nov 2001 17:32:27 +0000 (17:32 +0000)]
free path before we return (in case of a failure here)

Sat Nov 24 15:35:26 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
        we return (in case of a failure here)

22 years agoHandle events in windows other than widget->event_window properly.
Owen Taylor [Sat, 24 Nov 2001 00:24:18 +0000 (00:24 +0000)]
Handle events in windows other than widget->event_window properly.

Fri Nov 23 19:22:50 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtknotebook.c: Handle events in windows other
than widget->event_window properly. (#65079, reported
by Damon Chaplin)
* gdk/gdkevents.c (gdk_event_get_coords): Fix x/y bug.

22 years agoAlign the image at the top, #65020, request from Seth Nickell)
Owen Taylor [Sat, 24 Nov 2001 00:05:17 +0000 (00:05 +0000)]
Align the image at the top, #65020, request from Seth Nickell)

Fri Nov 23 18:57:46 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkmessagedialog.c (gtk_message_dialog_init): Align
the image at the top, #65020, request from Seth Nickell)

22 years ago - fixes, additions, updates (dutch translation)
Dirk-Jan C. Binnema [Sat, 24 Nov 2001 00:04:16 +0000 (00:04 +0000)]
- fixes, additions, updates (dutch translation)

22 years agoRemove some strange arithmetic that was resulting in rows being drawn too
Owen Taylor [Fri, 23 Nov 2001 23:55:19 +0000 (23:55 +0000)]
Remove some strange arithmetic that was resulting in rows being drawn too

Fri Nov 23 18:49:53 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/{gtkclist,gtkctree.c} (draw_row): Remove some strange
arithmetic that was resulting in rows being drawn too low.
(#65001, reported by Damon Chaplin)

22 years agoOffset invalidated range correctly. Fix scrolling of title window.
Owen Taylor [Fri, 23 Nov 2001 23:42:30 +0000 (23:42 +0000)]
Offset invalidated range correctly. Fix scrolling of title window.

Fri Nov 23 18:36:42 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkrange.c (gtk_range_button_press): Offset
invalidated range correctly.
* gtk/gtkclist.c (hadjustment_value_changed): Fix scrolling
of title window. (#65001, reported by Damon Chaplin)
* gtk/gtkcombo.c (gtk_combo_button_event_after): Replace
horrible hack with use of ::event_after.

22 years agoVersion 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to
Owen Taylor [Fri, 23 Nov 2001 21:46:44 +0000 (21:46 +0000)]
Version 1.3.11 Require GLib-1.3.11, Pango-0.22, ATK-0.7. Restore to

Thu Nov 22 15:01:03 2001  Owen Taylor  <otaylor@redhat.com>
        * Version 1.3.11
        * configure.in (ATK_REQUIRED_VERSION): Require
        GLib-1.3.11, Pango-0.22, ATK-0.7.
        * tests/prop-editor.c (property_widget): Restore
        to working as well as it did before.
        * gtk/gtklistitem.h: Mark deprecated since it is
        an integral part of GtkList.
        * demos/gtk-demo/demo-common.h: New header file,
        for a common functions not important to the meat
        of the demos.

        * demos/gtk-demo/main.c (demo_ifind_file): Add a utility
        function to search for a file used by the demo.
        * demos/*.c: Use demo_find_file.

22 years agoAdd windows.sgml Revert last diff to get things to build.
Owen Taylor [Fri, 23 Nov 2001 20:44:13 +0000 (20:44 +0000)]
Add windows.sgml Revert last diff to get things to build.

Fri Nov 23 15:12:07 2001  Owen Taylor  <otaylor@redhat.com>
        * gtk/Makefile.am (content_files): Add windows.sgml
        * gdk/tmpl/cursors.sgml: Revert last diff to get things to
        build.

22 years agoActually commit typo fixes already mentioned in ChangeLog entry on
Matthias Clasen [Fri, 23 Nov 2001 20:20:38 +0000 (20:20 +0000)]
Actually commit typo fixes already mentioned in ChangeLog entry on

        * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag),
        gtk/gtkruler.c (gtk_ruler_get_metric): Actually commit typo
        fixes already mentioned in ChangeLog entry on 2001-11-14.

        * docs/reference/gdk/tmpl/drawing.sgml: Minor markup fixes.

22 years agoreflect Pango API change
Hans Breuer [Fri, 23 Nov 2001 16:05:39 +0000 (16:05 +0000)]
reflect Pango API change

2001-11-23  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkfont-win32.c (gdk_font_from_description) :
reflect Pango API change

* gtk/gtk.def : updated externals

* gtk/gtkfixed.c (gtk_fixed_get_has_window) : use
g_return_val_if_fail() to avoid 'function must return a value'

* gtk/gtkrc.c : added spaces to fix small coding style issues
* gtk/gtkwidget.c : ... and linebreaks. Also a static for
'static correctness'

* gtk/makefile.msc.in : temporary(?) disable gtk<plug|socket>
because they only can be build on win32 after applying my patch

22 years agoAdd better explanation of proximity events.
Matthias Clasen [Thu, 22 Nov 2001 22:06:37 +0000 (22:06 +0000)]
Add better explanation of proximity events.

        * gdk/tmpl/event_structs.sgml: Add better explanation of proximity
        events.

        * gdk/tmpl/cursors.sgml: Document GdkCursor and standard cursors.

        * gdk/images/*.png: The standard X cursors as pngs.

        * gdk/Makefile.am (HTML_IMAGES): Add the images.

22 years agoraise event window afte children, in order for the input pnly window to
Tim Janik [Wed, 21 Nov 2001 23:49:17 +0000 (23:49 +0000)]
raise event window afte children, in order for the input pnly window to

Wed Nov 21 22:55:37 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkbutton.c (gtk_button_map): raise event window afte
        children, in order for the input pnly window to stay *above*
        children.

Wed Nov 21 22:44:27 2001  Tim Janik  <timj@gtk.org>

        * tests/testtreeview.c: make hackery worse ;) by checking fundamental
        type walks againts G_TYPE_FUNDAMENTAL_MAX.

        * tests/prop-editor.c: disable type hackery.

22 years agoFix problem with lost parameter.
Owen Taylor [Wed, 21 Nov 2001 22:42:50 +0000 (22:42 +0000)]
Fix problem with lost parameter.

Wed Nov 21 17:41:39 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkimage.c (gdk_image_get): Fix problem with
        lost parameter.

22 years agoRemove trailing commas in enum declarations.
Owen Taylor [Wed, 21 Nov 2001 22:08:09 +0000 (22:08 +0000)]
Remove trailing commas in enum declarations.

Wed Nov 21 17:01:25 2001  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkcellrenderer.h gtk/gtktreemodel.h
gtk/gtktreeprivate.h gtk/gtktreesortable.h: Remove
trailing commas in enum declarations.

22 years agoVersion 1.3.11, interface, binary age 0.
Owen Taylor [Wed, 21 Nov 2001 21:44:08 +0000 (21:44 +0000)]
Version 1.3.11, interface, binary age 0.

Wed Nov 21 15:21:26 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (GTK_MICRO_VERSION): Version 1.3.11,
interface, binary age 0.

* NEWS: Updates

* gtk/gtktreemodel.c gtk/gtkrc.c gtk/gtkentry.c: SGML
fixes in docs.

* gtk/gtkmain.h: Remove unused and misnamespaced
get_gtk_win32_directory() prototype.

* gdk/gdkimage.c (gdk_image_get): Fix parameter names
to match header.

* gdk/gdkwindow.h: Fix parameters to gdk_window_shape_combine_mask(),
gdk_window_set_transient_for(), gdk_window_set_geometry_hints(),
to match docs.

* gdk/gdkevents.c (gdk_event_get_coords)
  gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_active)
  gtk/gtkdnd.c (gtk_drag_set_icon_stock):
Fix parameter names in docs.

* docs/faq/Makefile.am (FAQ_FILES): Add missing files.
(#64961, Akira Tagoh)

22 years agoUpdates
Owen Taylor [Wed, 21 Nov 2001 21:43:47 +0000 (21:43 +0000)]
Updates

Wed Nov 21 15:57:29 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Updates

        * gtk/tmpl/gtkstock.sgml: Close end tags.

        * gtk/gtk.types: Remove interface types which gtk-doc
        can't handle currently.

        * gtk/tmpl/gtknotebook.sgml: Fix some garbage in file.

        * gdk/tmpl/x_interaction.sgml: Fix SGML errors.

        * gdk/gdk-overrides.txt gdk/gdk-sections.txt: Updates.

22 years agoRef-sink the tooltips object. Ref-sink the tooltips object. Fix some
Owen Taylor [Wed, 21 Nov 2001 17:04:35 +0000 (17:04 +0000)]
Ref-sink the tooltips object. Ref-sink the tooltips object. Fix some

Wed Nov 21 11:41:29 2001  Owen Taylor  <otaylor@redhat.com>
* tests/testgtk.c (create_tooltips): Ref-sink the tooltips object.
* gtk/gtktoolbar.c (gtk_toolbar_init): Ref-sink the tooltips object.
* gtk/gtkfilesel.c (open_new_dir): Fix some constness warnings.
* gtk/gtkaccelgroup.c: Rename gtk_accel_groups_from_acceleratable()
back to gtk_accel_groups_from_object(), change @acceleratable
parameter to gtk_accel_groups_activate() accordingly.
* gtk/gtkaccelmap.c (gtk_accel_map_lookup_entry): Remove
left-over comment about quark return.
* gtk/gtkaccelmap.h: Fix spelling of gtk_accel_map_foreach_unfiltered().
  * gtk/gtk-boxed.defs (GtkIconSource): added as a boxed type.
        (Patch from Matt Wilson)
* gtk/gtkobject.c (gtk_object_finalize): Warn if a floating
object is finalized.

22 years agofix docs for gtk_window_set_policy() to reflect existence of
Havoc Pennington [Wed, 21 Nov 2001 03:08:56 +0000 (03:08 +0000)]
fix docs for gtk_window_set_policy() to reflect existence of

2001-11-20  Havoc Pennington  <hp@pobox.com>

* gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to
reflect existence of gtk_window_set_resizable()

22 years agoapplied patch from owen to get rid of accel map notifiers. changed things
Tim Janik [Tue, 20 Nov 2001 23:43:03 +0000 (23:43 +0000)]
applied patch from owen to get rid of accel map notifiers. changed things

Tue Nov 20 21:25:08 2001  Tim Janik  <timj@gtk.org>

* applied patch from owen to get rid of accel map notifiers.
changed things to fix reentrancy and API as discussed on gtk-devel.

* gtk/gtkaccelgroup.[hc]:
(gtk_accel_group_finalize): unregister this accel group from all
accel map paths.
(accel_closure_invalidate): handle invalidation of closures by
disconnecting their accelerators.
(quick_accel_add): move closure connection and changed notification
into this function to reduce code duplication. don't emit change
notification on closurers without accelerators.
(quick_accel_remove): rewrite, do the exact opposite of quick_accel_add
for a GtkAccelGroupEntry.
(gtk_accel_group_connect): get rid of the accel_path_quark argument.
(gtk_accel_group_connect_by_path): new function to add accelerators
with an accel path.
(gtk_accel_group_disconnect_closure): new function, disconnect a
closure from of an accel group.
(gtk_accel_group_disconnect): loop over all closure for a accel_ley,
accel_mods pair and remove them.
(_gtk_accel_group_reconnect): new function that basically does
gtk_accel_group_disconnect_closure() and
gtk_accel_group_connect_by_path() once an accel path changed.
(gtk_accel_groups_disconnect_closure): remove this, there's
gtk_accel_group_disconnect_closure().

* gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now,
nuke notifiers.
(_gtk_accel_path_is_valid): make this non-static for
gtkwidget.c and gtkaccelgroup.c assertions.
(gtk_accel_map_add_notifer): removed this function.
(gtk_accel_map_remove_notifer): same.
(_gtk_accel_map_add_group):
(_gtk_accel_map_remove_group): (un-)register accel groups, with
accel paths for correct propagation.
(gtk_accel_map_add_entry): return void.
(gtk_accel_map_lookup): return gboolean instead of GQuark.

* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always
set accel_path on widgets.

* gtk/gtkwidget.[hc]:
(accel_path_changed): got rid of this, changes are handled by
accel maps internally now.
(_gtk_widget_set_accel_path): get things to work without notifiers.
(gtk_widget_list_accel_closures): list accel closures of a widget.

* gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed.

22 years agoTypo fix.
Matthias Clasen [Tue, 20 Nov 2001 22:40:41 +0000 (22:40 +0000)]
Typo fix.

        * gtk/gtkcontainer.c (gtk_container_propagate_expose): Typo fix.

        * gdk/tmpl/event_structs.sgml: Small fixes.

22 years agoreplace gboolean free_last in the function parameters with gint depth.
Kristian Rietveld [Tue, 20 Nov 2001 22:04:00 +0000 (22:04 +0000)]
replace gboolean free_last in the function parameters with gint depth.

Tue Nov 20 23:01:01 2001  Kristian Rietveld  <kristian@planet.nl>

        * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path):
        replace gboolean free_last in the function parameters with
        gint depth. Changes to reflect new situation.

        * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
        replace gboolean free_last, with gint depth, add gint current_depth.
        Changes to reflect new situation.

        * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): changes
        to reflect new situation

        * gtk/gtktreemodel.c (gtk_tree_row_reference_free): ditto

22 years agoFix problem where notebook gap was double shifted by allocation.x/y
Owen Taylor [Tue, 20 Nov 2001 17:42:56 +0000 (17:42 +0000)]
Fix problem where notebook gap was double shifted by allocation.x/y

Tue Nov 20 12:37:10 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_paint): Fix problem
where notebook gap was double shifted by allocation.x/y

* gtk/gtknotebook.c (gtk_notebook_unmap): Chain up
to unmap children.

22 years agofix allocation to be relative to paned->allocation, now that this is a
Tim Janik [Tue, 20 Nov 2001 13:55:08 +0000 (13:55 +0000)]
fix allocation to be relative to paned->allocation, now that this is a

Tue Nov 20 14:49:59 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): fix
        allocation to be relative to paned->allocation, now
        that this is a NO_WINDOW widget.
        * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): same here.

        * gtk/gtkaccellabel.c (gtk_accel_label_class_init): ::closure
        needs to be a boxed property.

22 years agoshut up CVS
Sven Neumann [Tue, 20 Nov 2001 08:11:53 +0000 (08:11 +0000)]
shut up CVS