]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agolink to new X11 section in a lot of places when mentioning the window
Havoc Pennington [Sat, 19 Jan 2002 18:51:48 +0000 (18:51 +0000)]
link to new X11 section in a lot of places when mentioning the window

2002-01-19  Havoc Pennington  <hp@pobox.com>

* gtk/gtkwindow.c: link to new X11 section in a lot of places when
mentioning the window manager.

* gtk/gtkwidget.c (gtk_widget_hide_on_delete): don't mention
window manager since we're portable.

2002-01-19  Havoc Pennington  <hp@pobox.com>

* gtk/x11.sgml: add a mostly-empty X11 section

* gtk/framebuffer.sgml: make title consistent with windows section

* gtk/tmpl/gtkdrawingarea.sgml: couple of fixes

22 years agoWrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.
Jeff Garzik [Sat, 19 Jan 2002 17:54:11 +0000 (17:54 +0000)]
Wrap case values in GPOINTER_TO_UINT(). Fixes build with gcc 3.x.

Sat Jan 19 08:47:41 2002  Jeff Garzik  <jgarzik@mandrakesoft.com>

        * gdk/linux-fb/gdkproperty-fb.c (gdk_atom_name):
        Wrap case values in GPOINTER_TO_UINT().  Fixes build with gcc 3.x.

        * gtk/gtkmain.c:  Include sys/types.h if G_OS_UNIX.
        Fixes build with gcc 3.x and -ansi.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 19 Jan 2002 17:30:46 +0000 (17:30 +0000)]
Updated Portuguese translation.

2002-01-19  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.

22 years agoCatch invalid borders, and warn.
Owen Taylor [Sat, 19 Jan 2002 07:52:52 +0000 (07:52 +0000)]
Catch invalid borders, and warn.

Sat Jan 19 02:45:17 2002  Owen Taylor  <otaylor@redhat.com>

        * src/pixbuf-render.c (theme_pixbuf_compute_hints): Catch
        invalid borders, and warn.

22 years agofix image file names
Owen Taylor [Sat, 19 Jan 2002 07:28:56 +0000 (07:28 +0000)]
fix image file names

22 years agoadd missed file
Owen Taylor [Sat, 19 Jan 2002 07:24:59 +0000 (07:24 +0000)]
add missed file

22 years agoFix problems when an engine declaration occurs in a reopened style, and
Owen Taylor [Sat, 19 Jan 2002 06:45:45 +0000 (06:45 +0000)]
Fix problems when an engine declaration occurs in a reopened style, and

Fri Jan 18 23:01:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c (gtk_rc_parse_style): Fix problems when
        an engine declaration occurs in a reopened style, and
        g_free() of objects when errors occur.

22 years agoAdd an extrodinarily ugly example.
Owen Taylor [Sat, 19 Jan 2002 05:39:43 +0000 (05:39 +0000)]
Add an extrodinarily ugly example.

Sat Jan 19 00:32:14 2002  Owen Taylor  <otaylor@redhat.com>

        * examples/*: Add an extrodinarily ugly example.

        * src/pixbuf-draw.c (draw_simple_image): Never shape
        the window, even if we are allowed to. Shaping is
        ugly -- if the widget isn't NO_WINDOW (most are),
        you'll just have to draw it rectangular.

        * src/pixbuf-render.c (pixbuf_render): Always use
        gdk_pixbuf_render_alpha() with FULL_ALPHA() as the
        type.

        * pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To
        speed up scaling, cache whether pixbufs have constant rows
        or constant columns.

        * src/pixbuf-render.c (pixbuf_render): Speed up scaling
        by using the hints from compute_hints().

22 years agoFix for changes to draw_focus.
Owen Taylor [Fri, 18 Jan 2002 23:14:45 +0000 (23:14 +0000)]
Fix for changes to draw_focus.

Fri Jan 18 18:14:11 2002  Owen Taylor  <otaylor@redhat.com>

        * src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.

22 years agoClarify documentation. (#69026)
Matthias Clasen [Fri, 18 Jan 2002 21:37:31 +0000 (21:37 +0000)]
Clarify documentation. (#69026)

        * gtk/gtkitemfactory.c (gtk_item_factory_get_widget_by_action):
        Clarify documentation. (#69026)

        * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Fix
        missing initialization of adjustment. (#69025)

22 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 18 Jan 2002 10:08:16 +0000 (10:08 +0000)]
Updated Ukrainian translation

22 years agoSimplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
Raja R Harinath [Fri, 18 Jan 2002 04:21:24 +0000 (04:21 +0000)]
Simplify Makefiles. <URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>

Simplify Makefiles.
<URL: http://bugzilla.gnome.org/show_bug.cgi?id=68969>
* gdk/Makefile.am: Remove use of automake conditionals to pick
library to build.
* gtk/Makefile.am: Likewise.

* gdk/Makefile.am (LDFLAGS): Use $(libdir), not @prefix@/lib.
* gtk/Makefile.am (LDFLAGS): Likewise.

22 years agoFix missing allocation.x/y offsets. (#68962, Jacob Berkman)
Owen Taylor [Fri, 18 Jan 2002 01:18:05 +0000 (01:18 +0000)]
Fix missing allocation.x/y offsets. (#68962, Jacob Berkman)

Thu Jan 17 20:13:14 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_redraw_tabs): Fix
missing allocation.x/y offsets. (#68962, Jacob
Berkman)

* gtk/gtknotebook.c (gtk_notebook_size_allocate):
Queue a redraw on the entire widget if we hide
the last page or show the first. (Also #68962)

22 years agochange GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
Havoc Pennington [Fri, 18 Jan 2002 00:45:50 +0000 (00:45 +0000)]
change GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it

2002-01-17  Havoc Pennington  <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): change
GTK_MOVEMENT_PARAGRAPHS to go to start/end of paragraph before it
starts to go up/down paragraphs. This makes Ctrl+Up/Ctrl+Down work
as in the keynav spec, though it makes the interpretation of
GTK_MOVEMENT_PARAGRAPHS different from the interpretation of some
of the other GTK_MOVEMENT_ thingies, maybe, as if that enum makes
any sense anyhow.

22 years agoFor some reason, I was activating a row while just selecting it. Reported
Jonathan Blandford [Fri, 18 Jan 2002 00:23:26 +0000 (00:23 +0000)]
For some reason, I was activating a row while just selecting it. Reported

Thu Jan 17 16:34:55 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): For
some reason, I was activating a row while just selecting it.
Reported by andersca.
(gtk_tree_view_size_request): add a
validate_rows_handler to give us a rough width of the widget.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
Queue a resize here just in case.  It's needed in over half the
cases, and I don't want to do a diff to figure out exactly when
it's needed.

22 years agoMore composite children.
Matthias Clasen [Fri, 18 Jan 2002 00:10:23 +0000 (00:10 +0000)]
More composite children.

22 years agoMark children as composite. (#66360)
Matthias Clasen [Thu, 17 Jan 2002 23:43:23 +0000 (23:43 +0000)]
Mark children as composite. (#66360)

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

22 years agotiny markup fix
Matthias Clasen [Thu, 17 Jan 2002 23:04:19 +0000 (23:04 +0000)]
tiny markup fix

22 years agonew function (which I then decided not to use but I think it's needed to
Havoc Pennington [Thu, 17 Jan 2002 22:38:18 +0000 (22:38 +0000)]
new function (which I then decided not to use but I think it's needed to

2002-01-17  Havoc Pennington  <hp@redhat.com>
* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
function (which I then decided not to use but I think it's needed
to fix #68963
* gtk/gtktextview.c: add page_horizontally action signal and
implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
#53934
* gtk/gtkmarshalers.list: add NONE:INT,BOOL

22 years agoCall gtk_selection_remove_all() here, not in destroy/ finalize. (#66636,
Owen Taylor [Thu, 17 Jan 2002 22:28:02 +0000 (22:28 +0000)]
Call gtk_selection_remove_all() here, not in destroy/ finalize. (#66636,

Thu Jan 17 17:02:38 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_real_unrealize): Call
gtk_selection_remove_all() here, not in destroy/
finalize. (#66636, Sergey Vlasov)

* gtk/gtkselection.c (gtk_selection_request): Fix
reentrancy problem with multiple conversions.

* gtk/gtkselection.c (gtk_selection_remove_all):
Don't remove incrs, we don't need the widget for
maintain the incr.

* gtk/gtkselection.c (struct _GtkIncrInfo): Remove
the widget field from here, we don't need it.

22 years agoMove here, and save/restore the X error handler to allow people using GTK+
Owen Taylor [Thu, 17 Jan 2002 20:45:23 +0000 (20:45 +0000)]
Move here, and save/restore the X error handler to allow people using GTK+

Thu Jan 17 13:08:34 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkmain-x11.c (gdk_error_trap_push): Move
here, and save/restore the X error handler to allow
people using GTK+ to set the X error handler to something
custom without disturbing the operation of GDK.

* gdk/linux-fb/gdkmain-fb.c (gdk_error_trap_push)
* gdk/win32/gdkmain-win32.c (gdk_error_trap_pop): Add
dummy implementations.

* gdk/x11/gdkmain-x11.c gdk/x11/gdkevents-x11.c
gdk/x11/gdkdnd-x11.c: Use gdk_error_trap_push()/pop()
for all error trapping.

* gdk/x11/gdkdnd-x11.c: Remove '#if 0' code.

* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Fix
problem where we would add the results anyways,
and then add it again if no error occurred, and problem
where we could leave _gdk_error_warnings() unset.

22 years agoFix calculation error in the (shouldn't happen) case where
Owen Taylor [Thu, 17 Jan 2002 01:37:31 +0000 (01:37 +0000)]
Fix calculation error in the (shouldn't happen) case where

Wed Jan 16 12:16:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Fix
        calculation error in the (shouldn't happen) case where
        option_menu->height < child_requisition.height. (Patch
        from Jacob Berkman, #66969)

22 years agoFix "deleting" filename by adding another boolean parameter to
Owen Taylor [Thu, 17 Jan 2002 01:37:06 +0000 (01:37 +0000)]
Fix "deleting" filename by adding another boolean parameter to

Wed Jan 16 20:28:38 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkfilesel.c: Fix "deleting" filename by adding
another boolean parameter to file_selection_populate() -
whether to clear the entry. Also, never fill in the
entry when the user clicks on something in the
directory list. (#6791, Reported by Jos Dehaes and many,
many, many others.)

22 years agoupdate cursor_y_pos with clamped delta rather than theoretical delta
Havoc Pennington [Thu, 17 Jan 2002 01:08:59 +0000 (01:08 +0000)]
update cursor_y_pos with clamped delta rather than theoretical delta

2002-01-16  Havoc Pennington  <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_scroll_pages): update
cursor_y_pos with clamped delta rather than theoretical delta
(#68788). Also, if we can't page up/down further then jump
to top/bottom of the document.

22 years agoRefresh the dialog on map. (#52877, inspired by request from Murray
Owen Taylor [Thu, 17 Jan 2002 00:53:50 +0000 (00:53 +0000)]
Refresh the dialog on map. (#52877, inspired by request from Murray

Wed Jan 16 19:33:41 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkfilesel.c (gtk_file_selection_map): Refresh
the dialog on map. (#52877, inspired by request from
Murray Cumming)

22 years agoSupport "optional" bindings. If a binding signal has a boolean return
Owen Taylor [Thu, 17 Jan 2002 00:34:58 +0000 (00:34 +0000)]
Support "optional" bindings. If a binding signal has a boolean return

Wed Jan 16 19:23:04 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbindings.c (gtk_binding_entry_activate):
Support "optional" bindings. If a binding signal
has a boolean return value, and returns FALSE it
is as if it didn't exist all.

* gtk/gtkbindings.c (binding_compose_params): Switch
over to GValue.

* gtk/gtknotebook.[ch]: Make the select_page() and
change_current_page() signals only take effect when
the focus is on the tab area so that key presses
in children pass up to the toplevel correctly.

22 years agoDeprecate. (#68183)
Matthias Clasen [Wed, 16 Jan 2002 19:12:47 +0000 (19:12 +0000)]
Deprecate. (#68183)

        * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)

        * gtk/gtkscale.h (gtk_scale_value_width): Remove useless
        compatibility macro. (#67730)

        * gtk/changes-2.0.sgml: Details about GtkRange and subclasses
        rewrite. (#67730)

22 years agoFix typo in --help output. (Arnaud Charlet).
Owen Taylor [Wed, 16 Jan 2002 15:55:38 +0000 (15:55 +0000)]
Fix typo in --help output. (Arnaud Charlet).

Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>

* configure.in: Fix typo in --help output.
(Arnaud Charlet).

22 years agoAdd gtkstockpixbufs.h.
Owen Taylor [Wed, 16 Jan 2002 15:31:42 +0000 (15:31 +0000)]
Add gtkstockpixbufs.h.

Wed Jan 16 10:18:42 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/stock-icons/Makefile.am (EXTRA_DIST): Add
gtkstockpixbufs.h.

* configure.in: Make TIFF, JPEG, PNG loaders mandatory
unless you configure with --without-libtiff, etc.
(#54045, Brian Cameron)

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 15:11:21 +0000 (15:11 +0000)]
Updated Ukrainian translation

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 14:26:02 +0000 (14:26 +0000)]
Updated Ukrainian translation

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 14:02:47 +0000 (14:02 +0000)]
Updated Ukrainian translation

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 11:02:22 +0000 (11:02 +0000)]
Updated Ukrainian translation

22 years agoUpdated Ukrainian translation
Yuri Syrota [Wed, 16 Jan 2002 10:19:32 +0000 (10:19 +0000)]
Updated Ukrainian translation

22 years agoAvoid unexpected warning message when navigating menu (#68517)
Padraig O'Briain [Wed, 16 Jan 2002 08:53:15 +0000 (08:53 +0000)]
Avoid unexpected warning message when navigating menu (#68517)

* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
Avoid unexpected warning message when navigating menu (#68517)

22 years agoset_boxed will copy the color and will use a mem_chunk to do it. Avoid an
Jody Goldberg [Wed, 16 Jan 2002 06:02:41 +0000 (06:02 +0000)]
set_boxed will copy the color and will use a mem_chunk to do it. Avoid an

2002-01-13  Jody Goldberg <jody@gnome.org>

        * gtk/gtktexttag.c (get_color_arg) : set_boxed will copy the color
  and will use a mem_chunk to do it.  Avoid an unnecessary copy, a
  leak, and confusion.

22 years agoIt is possible that a GtkLayout may have been scrolled _before_ it was
Jody Goldberg [Wed, 16 Jan 2002 06:01:31 +0000 (06:01 +0000)]
It is possible that a GtkLayout may have been scrolled _before_ it was

2002-01-15  Jody Goldberg <jody@gnome.org>

* gtk/gtklayout.c (gtk_layout_realize) : It is possible that a
GtkLayout may have been scrolled _before_ it was realized.

22 years agoUpdated Norwegian (nynorsk) translation.
Roy-Magne Mo [Wed, 16 Jan 2002 01:21:03 +0000 (01:21 +0000)]
Updated Norwegian (nynorsk) translation.

22 years agoStop the timer on destroy, or when we are notified that we are shadowed by
Owen Taylor [Wed, 16 Jan 2002 01:07:11 +0000 (01:07 +0000)]
Stop the timer on destroy, or when we are notified that we are shadowed by

Tue Jan 15 18:10:24 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): Stop
the timer on destroy, or when we are notified that we are
shadowed by a modal dialog.

* gtk/gtkspinbutton.c: Remove explicit gtk_grab_add()/remove() -
not needed any more.

* gtk/gtkmain.c (gtk_grab_notify): Fix problem where notifications
weren't sent out for the default grab group.

* gtk/gtkmain.c (gtk_grab_notify): Fix notification of widgets that
were getting events because they were part of the previous grab.

22 years agofocus the activated tab, not the page. (#53612)
Owen Taylor [Tue, 15 Jan 2002 17:40:44 +0000 (17:40 +0000)]
focus the activated tab, not the page. (#53612)

Tue Jan 15 12:23:33 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_mnemonic_activate_switch_page):
focus the activated tab, not the page. (#53612)

* gtk/gtknotebook.c (gtk_notebook_set_focus_child): Track
the last focus descendant of the page.

* gtk/gtknotebook.c (gtk_notebook_real_switch_page): If the focus
was on the previous page, move it to the last focused widget /
first element on the new page, if possible, or if not, to the
notebook itself. (#68224, reported by Jonathan Blandford)

* gtk/gtknotebook.c (focus_tabs_in): Don't focus tabs
tabs aren't visible. (#65462, Damon Chaplin, fixed based
on patch from Anders Carlsson)

22 years agogtk/gtkstyle.c a misprint in documentation for gtk_style_render_icon () is
Vitaly Tishkov [Tue, 15 Jan 2002 16:35:01 +0000 (16:35 +0000)]
gtk/gtkstyle.c a misprint in documentation for gtk_style_render_icon () is

2002-01-15            Vitaly Tishkov       <tvv@sparc.spb.su>

        * gtk/gtkstyle.c
a misprint in documentation for gtk_style_render_icon () is fixed

22 years agomap event_window after mapping child, so we don't loose events.
Tim Janik [Tue, 15 Jan 2002 13:24:03 +0000 (13:24 +0000)]
map event_window after mapping child, so we don't loose events.

Mon Jan 14 23:21:47 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenuitem.c (gtk_menu_item_map): map event_window after
        mapping child, so we don't loose events.

22 years agogtk/gtkaccellabel.h fixed documentation by syncing the parameter names
Sven Neumann [Tue, 15 Jan 2002 11:20:00 +0000 (11:20 +0000)]
gtk/gtkaccellabel.h fixed documentation by syncing the parameter names

2002-01-15  Sven Neumann  <sven@gimp.org>

* gtk/gtkaccellabel.h
* gtk/gtkitemfactory.c: fixed documentation by syncing the parameter
names used in headers and code.

22 years agoclose a comment block
jacob berkman [Tue, 15 Jan 2002 02:48:04 +0000 (02:48 +0000)]
close a comment block

2002-01-14  jacob berkman  <jacob@ximian.com>

* gtk/gtkrc.c (gtk_rc_get_im_module_path): close a comment block

22 years agofix a load of open line ends, (gtk_tree_model_sort_set_model): only free
Kristian Rietveld [Tue, 15 Jan 2002 00:12:30 +0000 (00:12 +0000)]
fix a load of open line ends, (gtk_tree_model_sort_set_model): only free

Tue Jan 15 01:13:51 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c: fix a load of open line ends,
        (gtk_tree_model_sort_set_model): only free root level if it's
        !NULL

22 years agoDocumentation additions.
Matthias Clasen [Mon, 14 Jan 2002 23:24:47 +0000 (23:24 +0000)]
Documentation additions.

        * gtk/gtkoldeditable.c, gtk/gtkrc.c,
        gtk/gtkstyle.c: Documentation additions.

        * gtk/gtkmenu.c (gtk_menu_set_accel_path),
        gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
        gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.

        * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.

        * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.

        * gtk/running.sgml: Add ids to some elements to make them
        addressable as link targets.

22 years agoDocumentation additions.
Matthias Clasen [Mon, 14 Jan 2002 23:24:02 +0000 (23:24 +0000)]
Documentation additions.

        * gtk/gtkoldeditable.c, gtk/gtkrc.c,
        gtk/gtkstyle.c: Documentation additions.

        * gtk/gtkmenu.c (gtk_menu_set_accel_path),
        gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path),
        gtk/gtkwidget.c (gtk_widget_add_accelerator): Typo and markup fixes.

        * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document.

        * gtk/gtkaccelmap.c (gtk_accel_map_add_filter): Explain intended use.

        * gtk/running.sgml: Add ids to some elements to make them
        addressable as link targets.

22 years agoDon't mangle sequences of consecutive \n or \r.
Owen Taylor [Mon, 14 Jan 2002 23:11:35 +0000 (23:11 +0000)]
Don't mangle sequences of consecutive \n or \r.

Mon Jan 14 17:14:13 2002  Owen Taylor  <otaylor@redhat.com>
        * gdk/x11/gdkselection-x11.c (sanitize_utf8): Don't
        mangle sequences of consecutive \n or \r.

22 years agoallow cancel to happen.
Jonathan Blandford [Mon, 14 Jan 2002 22:00:26 +0000 (22:00 +0000)]
allow cancel to happen.

Mon Jan 14 17:42:28 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_stop_editing): allow cancel to
happen.

* gtk/gtktreeview.c (install_presize_handler): only install the
handler if we're realized, #68056

22 years agoUnset initial_pos_set after the first configure request.
Owen Taylor [Mon, 14 Jan 2002 21:52:15 +0000 (21:52 +0000)]
Unset initial_pos_set after the first configure request.

Mon Jan 14 16:35:58 2002  Owen Taylor  <otaylor@redhat.com>
        * gtk/gtkwindow.c (gtk_window_move_resize): Unset
        initial_pos_set after the first configure request.

22 years agoFix problem where widget->requisition was being used instead of
Owen Taylor [Mon, 14 Jan 2002 08:20:22 +0000 (08:20 +0000)]
Fix problem where widget->requisition was being used instead of

Sun Jan 13 23:23:22 2002  Owen Taylor  <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix problem where
widget->requisition was being used instead of
gtk_widget_get_child_requisition (), causing geometry widgets
with usizes to misbehave.

22 years agog_getenv() returns a const string.
Sven Neumann [Mon, 14 Jan 2002 07:42:45 +0000 (07:42 +0000)]
g_getenv() returns a const string.

2002-01-14  Sven Neumann  <sven@gimp.org>

* gtk/gtkrc.c: g_getenv() returns a const string.

22 years agoAdded ms at ALL_LINGUAS. Added Malay Translation. But not all translated
Hasbullah Bin Pit [Mon, 14 Jan 2002 01:39:24 +0000 (01:39 +0000)]
Added ms at ALL_LINGUAS. Added Malay Translation. But not all translated

2002-01-14  Hasbullah Bin Pit  <sebol@ikhlas.com>

        * configure.in: Added ms at ALL_LINGUAS.
        * po/ms.po: Added Malay Translation.
  But not all translated :(

22 years agoMinor fix.
Matthias Clasen [Mon, 14 Jan 2002 00:45:31 +0000 (00:45 +0000)]
Minor fix.

22 years agoDocumentation.
Matthias Clasen [Mon, 14 Jan 2002 00:41:20 +0000 (00:41 +0000)]
Documentation.

        * gtk/gtkitemfactory.c: Documentation.

        * gtk/tmpl/gtkrc.sgml: Minor fixes.

22 years agodocumentation cleanups.
Sven Neumann [Sun, 13 Jan 2002 20:13:34 +0000 (20:13 +0000)]
documentation cleanups.

2002-01-13  Sven Neumann  <sven@gimp.org>

* gdk/gdkwindow.c: documentation cleanups.

22 years agoUpdated Azerbaijani translation file
Vasif Ismailoglu MD [Sun, 13 Jan 2002 10:57:24 +0000 (10:57 +0000)]
Updated Azerbaijani translation file

* az.po: Updated Azerbaijani translation file

22 years agovarious cleanups, (get_child_iter_from_elt): removed,
Kristian Rietveld [Sun, 13 Jan 2002 00:22:04 +0000 (00:22 +0000)]
various cleanups, (get_child_iter_from_elt): removed,

Sun Jan 13 01:15:45 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c: various cleanups,
        (get_child_iter_from_elt): removed,
        (gtk_tree_model_sort_elt_get_path): rewritten to be a lot cleaner
        and especially faster,
        (gtk_tree_model_convert_iter_to_child_iter): use
        gtk_tree_model_sort_elt_get_path

22 years agoforgotten ChangeLog entry.
Matthias Clasen [Sat, 12 Jan 2002 22:02:54 +0000 (22:02 +0000)]
forgotten ChangeLog entry.

22 years agoRemoved conflict markers from ChangeLog.
Sven Neumann [Sat, 12 Jan 2002 17:48:45 +0000 (17:48 +0000)]
Removed conflict markers from ChangeLog.

22 years agorevert Owen's change (using a strdupped string as object data), so the
Kristian Rietveld [Sat, 12 Jan 2002 15:58:56 +0000 (15:58 +0000)]
revert Owen's change (using a strdupped string as object data), so the

Sat Jan 12 16:57:31 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
        revert Owen's change (using a strdupped string as object data), so
        the interactive search works again

22 years agosgml fixes
Havoc Pennington [Sat, 12 Jan 2002 04:39:07 +0000 (04:39 +0000)]
sgml fixes

2002-01-11  Havoc Pennington  <hp@pobox.com>

* gtk/running.sgml: sgml fixes

* gtk/tmpl/gtksignal.sgml: sgml fixes

* gtk/tmpl/gtklabel.sgml: do the intro section

2002-01-11  Havoc Pennington  <hp@pobox.com>

* gtk/gtklabel.c: put in more links to Pango markup format docs
(gtk_label_set_justify): mention gtk_misc_set_alignment

22 years agoCredit Michael Hore for last two changes
Owen Taylor [Sat, 12 Jan 2002 00:26:25 +0000 (00:26 +0000)]
Credit Michael Hore for last two changes

22 years agoFixes contributed by Archaeopteryx Software: This is a first small part of
Tor Lillqvist [Fri, 11 Jan 2002 23:56:28 +0000 (23:56 +0000)]
Fixes contributed by Archaeopteryx Software: This is a first small part of

2002-01-12  Tor Lillqvist  <tml@iki.fi>

Fixes contributed by Archaeopteryx Software: This is a first small
part of their changes. Will commit more later.

* gdk/win32/*.c: Add some more checks for failed GDI calls. If a
call fails, don't use bogus values.

* gdk/win32/gdkcursor-win32.c (_gdk_win32_data_to_wcursor): Plug
memory leak: g_free() the AND and XOR bitmaps after use.
(_gdk_cursor_destroy): If we are destroying the current Windows
cursor, set the Windows cursor to none first.

* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
brush that was in the DC, like the win32-procution branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
brushes.

* gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_finalize): If
the window has a cursor which is the current Windows cursor,
before destroying it set the current Windows cursor to none.
(gdk_window_set_cursor): Also here, if destroying the current
Windows cursor, set the current Windows cursor to none first.
(gdk_window_get_pointer): Revamp logic.

22 years agoFix integer overflow for the values passed to the pixel functions.
Owen Taylor [Fri, 11 Jan 2002 23:08:44 +0000 (23:08 +0000)]
Fix integer overflow for the values passed to the pixel functions.

Fri Jan 11 18:05:07 2002  Owen Taylor  <otaylor@redhat.com>

* pixops/pixops.c: Fix integer overflow for the values
passed to the pixel functions. (#55148)

22 years agoRemove meaningless FIXME.
Owen Taylor [Fri, 11 Jan 2002 22:54:53 +0000 (22:54 +0000)]
Remove meaningless FIXME.

Fri Jan 11 17:53:58 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c (pixops_scale_nearest): Remove meaningless
        FIXME.

        * pixops/pixops.c (pixops_process): Comment the computation
        of run_end_index and fix some edge cases.

        * pixops/{scale_line_22_33_mmx.S, composite_line_22_4a4_mmx.S:
        composite_line_color_22_4a4_mmx.S}: Handle the case where
        dest <= dest_end properly. (#52001)

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Fri, 11 Jan 2002 22:51:27 +0000 (22:51 +0000)]
Updated Norwegian (bokmål) translation.

2002-01-11  Kjartan Maraas  <kmaraas@gnome.org>

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

22 years agoExpand.
Matthias Clasen [Fri, 11 Jan 2002 22:39:03 +0000 (22:39 +0000)]
Expand.

        * gdk/tmpl/general.sgml (gdk_set_program_class): Expand.

        * gtk/running.sgml: New file.

        * gtk/building.sgml: Document a few more configure options.

        * gtk/Makefile.am (content_files): Add running.sgml.

        * gtk/gtk-docs.sgml: Include running.sgml, sort H and V
        variants of widgets to be next to each other.

22 years agoget rid of extraneous prototype
Tim Janik [Fri, 11 Jan 2002 03:47:49 +0000 (03:47 +0000)]
get rid of extraneous prototype

22 years agoactually iterate through the list rather than infinitely loop
jacob berkman [Fri, 11 Jan 2002 00:49:42 +0000 (00:49 +0000)]
actually iterate through the list rather than infinitely loop

2002-01-10  jacob berkman  <jacob@ximian.com>

* gtk/gtkwidget.c (gtk_widget_add_events): actually iterate
through the list rather than infinitely loop

22 years agoRename to reset_rc_styles_recurse(). (#68084)
Matthias Clasen [Thu, 10 Jan 2002 23:10:34 +0000 (23:10 +0000)]
Rename to reset_rc_styles_recurse(). (#68084)

        * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
        reset_rc_styles_recurse(). (#68084)

        * gtk/tmpl/gtkaccellabel.sgml: Remove duplicate docs.

        * gdk-pixbuf/Makefile.am (content_files): Add
        gdk-pixbuf-from-drawables.sgml. (#68232)

        * gtk/tmpl/gtkwidget.sgml: Improve docs for GTK_NO_REPARENT
        and GTK_APP_PAINTABLE. (#68060)

22 years agoReplace some hardcoded values with the SUBSAMPLE
Owen Taylor [Thu, 10 Jan 2002 21:49:39 +0000 (21:49 +0000)]
Replace some hardcoded values with the SUBSAMPLE

Thu Jan 10 16:48:30 2002  Owen Taylor  <otaylor@redhat.com>

        * pixops/pixops.c: Replace some hardcoded values with the
        SUBSAMPLE

22 years agogtk/gtkimage.c gtk/gtkimcontext.c gtk/gtktreemodel.c
Vitaly Tishkov [Thu, 10 Jan 2002 16:36:25 +0000 (16:36 +0000)]
gtk/gtkimage.c gtk/gtkimcontext.c gtk/gtktreemodel.c

2002-01-10            Vitaly Tishkov       <tvv@sparc.spb.su>
        * gtk/gtkimage.c
* gtk/gtkimcontext.c
* gtk/gtktreemodel.c
* gtk/gtktreemodelsort.c
* gtk/gtkwindow.c
* docs/reference/gtk/tmpl/gtkselection.sgml
fix docs

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 10 Jan 2002 15:22:28 +0000 (15:22 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoget the types as well as the symbols because we need them in
Jonathan Blandford [Thu, 10 Jan 2002 02:02:59 +0000 (02:02 +0000)]
get the types as well as the symbols because we need them in

Wed Jan  9 20:56:42 2002  Jonathan Blandford  <jrb@redhat.com>

* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
symbols because we need them in MyEnhancedXkbTranslateKeyCode.

22 years agoApply the same fixes and improvements as to the gtk-1-3-win32-production
Tor Lillqvist [Thu, 10 Jan 2002 00:53:39 +0000 (00:53 +0000)]
Apply the same fixes and improvements as to the gtk-1-3-win32-production

2002-01-10  Tor Lillqvist  <tml@iki.fi>

Apply the same fixes and improvements as to the
gtk-1-3-win32-production branch: Bug fixes and cleanup of
selection and DND functionality. Still doesn't work as well as the
win32-production branch, though, but getting closer.

After this, need to add Archaeopteryx Software's OLE2 DND support.

* gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
gdk_selection_send_notify, generate_selection_notify): Don't use
SendMessage() to generate events for the same app, instead use
gdk_event_put().

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
initialisation and handling of gdk_selection_notify_msg,
gdk_selection_request_msg and gdk_selection_clear_msg.

* gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
gdk_free_text_list, gdk_string_to_compound_text,
gdk_free_compound_text): Implement trivially, witrh a text_list
always having a single element, and a compound text always
consisting of just a single (UTF-8!) string. Let's see how well
this works.

* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
non-ASCII paste from the clipboard: Try getting the same formats
from the Windows clipboard that gdk_property_change() puts there:
CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.

* gdk/win32/gdkproperty-win32.c (gdk_property_change): When
storing text on the clipboard, handle non-ASCII text
correctly. The logic is as follows:

If we have only ASCII characters, use CF_TEXT.

Else, if we are on NT, use CF_UNICODETEXT.

Else (we are on Win9x), if all the characters are present in the
code page of some installed locale, use CF_TEXT and also set
CF_LOCALE to that locale.

Else (still on Win9x) store as RTF. We use a very simple RTF
string, just the text, no fonts or other crap, with the non-ASCII
characters as Unicode \uN keywords. Additionally, also store the
UTF-8 string as such, under the format "UTF8_STRING", so that GDK
can also paste from the Clipboard what it has copied there. (Thus
no need to implement any RTF parser.)

(find_common_locale): New function, implements the search for a
locale for case 3 above.

* gdk/win32/gdkglobals-win32.c: New global variables
compound_text, text_uri_list, utf8_string, cf_rtf and
cf_utf8_string.

* gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
converts from a wchar_t string to UTF-8.
(_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
(_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.

* gdk/win32/gdkevents-win32.c (build_keypress_event): Use
_gdk_ucs2_to_utf8().

* gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.

* gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
gdk_drag_context_ref() was called unnecessarily in a couple of
places, meaning drag contexts were never freed. The same memory
leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.

(gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
stored file list.

* gdk/win32/gdkselection-win32.c: Clarify the use of the
sel_prop_table. Now it is used only for storing the GDK_SELECTION
"properties".

The file names dropped with WM_DROPFILES -style DND is stored
temporarily (between the drop and the target picking them up) in a
separate place.

Have a separate hash table to map selection atoms to owner
windows. This used to be quite mixed up.

(_gdk_dropfiles_store): New function, to store the dropped file
list for the drop target to possibly fetch, and clear it
afterwards, from gdk_drop_reply().

(gdk_selection_owner_get): Much simplified now.

22 years agoset the background of our bin window also (fixes #58957)
jacob berkman [Thu, 10 Jan 2002 00:32:22 +0000 (00:32 +0000)]
set the background of our bin window also (fixes #58957)

2002-01-09  jacob berkman  <jacob@ximian.com>

* gtk/gtklayout.c (gtk_layout_style_set): set the background of
our bin window also (fixes #58957)

22 years agoNow we test we can unselect nodes before selecting new ones.
Jonathan Blandford [Thu, 10 Jan 2002 00:11:32 +0000 (00:11 +0000)]
Now we test we can unselect nodes before selecting new ones.

Wed Jan  9 19:10:07 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeselection.c
(_gtk_tree_selection_internal_select_node): Now we test we can
unselect nodes before selecting new ones.
(gtk_tree_selection_real_select_node): be careful comparing booleans.

22 years agopass NULL to gtk_tree_model_rows_reordered and not an iter with user_data
Kristian Rietveld [Wed, 9 Jan 2002 20:43:11 +0000 (20:43 +0000)]
pass NULL to gtk_tree_model_rows_reordered and not an iter with user_data

Wed Jan  9 21:31:44 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkliststore.c (gtk_list_store_sort): pass NULL to
        gtk_tree_model_rows_reordered and not an iter with user_data
        set to NULL (which is an invalid liststore iter, so
        iter_n_children failed, etc)

22 years agoInclude glib-object.h, Add G_BEGIN_DECLS/END_DECLS to
Owen Taylor [Wed, 9 Jan 2002 16:36:20 +0000 (16:36 +0000)]
Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to

Wed Jan  9 11:29:44 2002  Owen Taylor  <otaylor@redhat.com>

* Makefile.am (s-enum-types-h): Include glib-object.h,
Add G_BEGIN_DECLS/END_DECLS to gdk-pixbuf-enum-types.h. (#68325,
Mikael Hermansson)

* *.h: G_BEGIN_DECLS cleanups.

22 years agodeclared internal functions static.
Sven Neumann [Wed, 9 Jan 2002 16:23:19 +0000 (16:23 +0000)]
declared internal functions static.

2002-01-09  Sven Neumann  <sven@gimp.org>

* tests/prop-editor.c: declared internal functions static.

22 years agoFix problem with menus without accel groups, such as the menus for option
Owen Taylor [Wed, 9 Jan 2002 16:15:21 +0000 (16:15 +0000)]
Fix problem with menus without accel groups, such as the menus for option

Wed Jan  9 11:13:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenuitem.c (_gtk_menu_item_refresh_accel_path):
        Fix problem with menus without accel groups, such as the
        menus for option menus.

        * gtk/gtkpaned.c (gtk_paned_expose): Only conditionalize
        drawing of handle on whether both children are visible,
        not the drawing of the other child!. (#68325, Diego Gonzalez)

22 years agoCheck for RENDER before trying to use it... XRenderFindFormat() prints
Owen Taylor [Wed, 9 Jan 2002 15:23:30 +0000 (15:23 +0000)]
Check for RENDER before trying to use it... XRenderFindFormat() prints

Wed Jan  9 10:20:16 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkgc-c11.c: Check for
RENDER before trying to use it... XRenderFindFormat() prints
warnings if called when extension isn't present.

22 years agoupdate the accel path upon parent changes.
Tim Janik [Wed, 9 Jan 2002 14:22:34 +0000 (14:22 +0000)]
update the accel path upon parent changes.

Wed Jan  9 15:20:40 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenuitem.c (gtk_menu_item_parent_set): update the accel
        path upon parent changes.

22 years agosmall but important fix to force vadjustments at size_alocate time from
Tim Janik [Wed, 9 Jan 2002 12:24:03 +0000 (12:24 +0000)]
small but important fix to force vadjustments at size_alocate time from

Wed Jan  9 13:20:14 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
        fix to force vadjustments at size_alocate time from Xavier Ordoquy
        <mcarkan@users.sourceforge.net>.

22 years agodon't cast a possible NULL pointer.
Tim Janik [Wed, 9 Jan 2002 10:28:02 +0000 (10:28 +0000)]
don't cast a possible NULL pointer.

Wed Jan  9 11:23:39 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtklayout.c (gtk_layout_get_property):
        * gtk/gtkspinbutton.c (gtk_spin_button_get_property):
        * gtk/gtktreeview.c (gtk_tree_view_get_property):
        * gtk/gtkwidget.c (gtk_widget_get_property):
        * gtk/gtkfontsel.c (gtk_font_selection_get_property):
        * gtk/gtkrange.c (gtk_range_get_property):
        * gtk/gtkviewport.c (gtk_viewport_get_property):
        * gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a
        possible NULL pointer.

22 years agoUse G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't reference
Mike Kestner [Wed, 9 Jan 2002 06:52:19 +0000 (06:52 +0000)]
Use G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't reference

2002-01-08  Mike Kestner  <mkestner@speakeasy.net>

* gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE.
* gtk/gtktreednd.h : ditto.
* gtk/gtktreemodel.h : ditto.
* gtk/gtktreesortable.h : ditto.
* gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.

22 years agoImprove wording.
Matthias Clasen [Wed, 9 Jan 2002 00:34:21 +0000 (00:34 +0000)]
Improve wording.

22 years agoSpeak of window IDs rather than XIDs in the docs.
Matthias Clasen [Wed, 9 Jan 2002 00:02:30 +0000 (00:02 +0000)]
Speak of window IDs rather than XIDs in the docs.

        * gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather
        than XIDs in the docs.

        * gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs.

        * gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkplug.sgml: speak of
        window IDs rather than XIDs.

22 years agowow! Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")
Jonathan Blandford [Tue, 8 Jan 2002 23:48:30 +0000 (23:48 +0000)]
wow! Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")

Tue Jan  8 18:39:23 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow!
Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")

22 years agoHandle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)
Owen Taylor [Tue, 8 Jan 2002 23:05:46 +0000 (23:05 +0000)]
Handle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)

Tue Jan  8 18:04:01 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)

* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.

22 years agoFix coordinate translations, once and for all.
Owen Taylor [Tue, 8 Jan 2002 21:17:55 +0000 (21:17 +0000)]
Fix coordinate translations, once and for all.

Tue Jan  8 15:53:28 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
translations, once and for all.

* gtk/gtktextbuffer.c (paste_from_buffer): Free
the ClipboardRequest structure. (#66198, HideToshi
Tajima)

22 years agoqueue a resize on
jacob berkman [Tue, 8 Jan 2002 20:20:32 +0000 (20:20 +0000)]
queue a resize on

2002-01-08  jacob berkman  <jacob@ximian.com>

* gtk/gtklayout.c (gtk_layout_move_internal): queue a resize on

22 years agoDon't draw the handle if we aren't showing both children. (#68135, Diego
Owen Taylor [Tue, 8 Jan 2002 19:56:37 +0000 (19:56 +0000)]
Don't draw the handle if we aren't showing both children. (#68135, Diego

Tue Jan  8 14:51:19 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkpaned.c (gtk_paned_expose): Don't draw
the handle if we aren't showing both children.
(#68135, Diego Gonzalez)

22 years agoFix leak of result of gtk_container_get_children().
Owen Taylor [Tue, 8 Jan 2002 19:47:13 +0000 (19:47 +0000)]
Fix leak of result of gtk_container_get_children().

Tue Jan  8 14:45:43 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_add_events): Fix
leak of result of gtk_container_get_children().

22 years agoFix leaks of results of gtk_container_get_children(). (#68199, Damon
Owen Taylor [Tue, 8 Jan 2002 19:44:34 +0000 (19:44 +0000)]
Fix leaks of results of gtk_container_get_children(). (#68199, Damon

Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktoolbar.c: Fix leaks of results of
gtk_container_get_children(). (#68199, Damon Chaplin)

22 years agoFix problem where child->requisition was accessed directly instead of
Owen Taylor [Tue, 8 Jan 2002 19:21:55 +0000 (19:21 +0000)]
Fix problem where child->requisition was accessed directly instead of

Tue Jan  8 14:19:43 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcheckbutton.c (gtk_check_button_size_allocate):
Fix problem where child->requisition was accessed
directly instead of calling get_child_requisition()
(#68199, Damon Chaplin)

22 years ago- Massive cleanup, make actually legible. - Fix some clamp-to-range bugs
Owen Taylor [Tue, 8 Jan 2002 16:12:49 +0000 (16:12 +0000)]
- Massive cleanup, make actually legible. - Fix some clamp-to-range bugs

Tue Jan  8 10:58:04 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate):
         - Massive cleanup, make actually legible.
         - Fix some clamp-to-range bugs found by Jim Cape (#68231).
         - Add a g_return_if_fail() if src and dest alpha don't match.
         - Allow for src_rowstride != dest_rowstride.

22 years agoadd trailing */ on doc comment.
James Henstridge [Tue, 8 Jan 2002 03:40:05 +0000 (03:40 +0000)]
add trailing */ on doc comment.

2001-01-08  James Henstridge  <james@daa.com.au>

        * gtk/gtkstyle.c: add trailing */ on doc comment.

22 years agoFix a problem where were the offset into the image was passed into
Owen Taylor [Tue, 8 Jan 2002 03:22:13 +0000 (03:22 +0000)]
Fix a problem where were the offset into the image was passed into

Mon Jan  7 22:19:32 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): Fix a
        problem where were the offset into the image was passed
        into convert_to_format() wrong.

        * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Call
        gdk_x11_drawable_update_picture_clip () before using
        the picture; allow update_picture_clip() to take a NULL gc
        to mean no clipping.