]> Pileus Git - ~andy/gtk/log
~andy/gtk
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.

22 years agoDoc typo fix. (#68172)
Matthias Clasen [Tue, 8 Jan 2002 00:04:57 +0000 (00:04 +0000)]
Doc typo fix. (#68172)

        * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)

        * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.

        * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.

        * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.

        * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
        gtk/gtkwidget.c (gtk_widget_get_toplevel,
        gtk_widget_push_composite_child), gtk/gtkdialog.c
        (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
        from messing up the indentation of inline examples.

        * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
        instead of getenv().

        * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
        gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
        gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.

        * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
        gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
        Document.

        * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
        instead of GTK_WINDOW_XWINDOW().  (#68172)

        * gtk/gtk-sections.txt: Move functions which are documented
        as "private" or "internal" into Private subsections.

        * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
        gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
        gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
        gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.

        * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.

        * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
        gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.

        * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Mon, 7 Jan 2002 20:54:27 +0000 (20:54 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agoRemove unused pixels and rowstride variables.
Anders Carlsson [Mon, 7 Jan 2002 08:02:23 +0000 (08:02 +0000)]
Remove unused pixels and rowstride variables.

2002-01-07  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.

22 years agodon't forget to offset the pointer by x/y_offset into the new window when
Tim Janik [Mon, 7 Jan 2002 07:59:08 +0000 (07:59 +0000)]
don't forget to offset the pointer by x/y_offset into the new window when

Mon Jan  7 08:48:23 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
        the pointer by x/y_offset into the new window when we found
        the drag destination.

        * gtk/gtkaccelmap.c (internal_change_entry): fix return code
        for simulation when the entry already contains the required
        accel key and mod.

22 years agoReplace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS.
Matthias Clasen [Mon, 7 Jan 2002 00:13:33 +0000 (00:13 +0000)]
Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS.

        * docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by
        G_DISABLE_CAST_CHECKS.

        * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
        gtk_accel_group_query, gtk_accel_group_find,
        gtk_accel_groups_from_object): Document.

        * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.

        * gtk/tmpl/gtktypeutils.sgml: Replace GTK_NO_CHECK_CASTS by
        G_DISABLE_CAST_CHECKS, fix some markup and add stuff.

        * gtk/tmpl/gtkaccelgroup.sgml, gtk/tmpl/gtkwidget.sgml: Additions.

        * gtk/gtk-sections.txt: Make gtk_accel_group_get_type private.

22 years agoa few more questions I thought of
Havoc Pennington [Sun, 6 Jan 2002 21:51:04 +0000 (21:51 +0000)]
a few more questions I thought of

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

* gtk/question_index.sgml: a few more questions I thought of

22 years agoremove gtk- prefix from TreeView and a few other entities, more consistent
Havoc Pennington [Sun, 6 Jan 2002 21:09:26 +0000 (21:09 +0000)]
remove gtk- prefix from TreeView and a few other entities, more consistent

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

* gtk/gtk-docs.sgml: remove gtk- prefix from TreeView and a few
other entities, more consistent anyway (I thought this would make
links to "GtkTreeView" etc. go to the ref page, not the struct,
but it wasn't the problem, the issue is the way gtkdoc-mkdb
decides what's an object, see CheckIsObject() routine)

* gtk/changes-1.2.sgml: sgml fixes to get rid of warnings

* gtk/changes-2.0.sgml: ditto

* gtk/question_index.sgml: add some questions

22 years agoneed to cast image->mem away from void* to avoid 'error C2036: 'void *' :
Hans Breuer [Sat, 5 Jan 2002 19:07:13 +0000 (19:07 +0000)]
need to cast image->mem away from void* to avoid 'error C2036: 'void *' :

2002-01-04  Hans Breuer  <hans@breuer.org>

* gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c :
need to cast image->mem away from void* to avoid
'error C2036: 'void *' : unknown size'. Doing pointer
arithmetics on void pointers is a GCCism afaik.

* gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for
_gdk_draw_pixbuf ()

* gdk/makefile.msc gdk/win32/makefile.msc
        gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h

* gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image
and take care of image->visual possibly NULL.

* gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(),
_gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth().
Again take care of image->visual possibly NULL.

* gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image()

* gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap
instead of private field access

* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt
colormap setting to the gdk-X behaviour

22 years agodon't export functions prefixed with underscore
Hans Breuer [Sat, 5 Jan 2002 18:59:24 +0000 (18:59 +0000)]
don't export functions prefixed with underscore

2002-01-04  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def : don't export functions prefixed
with underscore

* makefile.msc : use -FImsvc_recommende_pragmas.h

22 years agoDocumentation additions.
Matthias Clasen [Sat, 5 Jan 2002 15:46:46 +0000 (15:46 +0000)]
Documentation additions.

        * gtk/gtkwidget.c: Documentation additions.

        * gtk/tmpl/gtkwidget.sgml: Additions.

22 years agoFix a comment.
Matthias Clasen [Fri, 4 Jan 2002 23:49:20 +0000 (23:49 +0000)]
Fix a comment.

        * gtk/gtkobject.c (gtk_object_dispose): Fix a comment.

        * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change

        * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml: SGML fixes.

        * gtk/tmpl/gtkobject.sgml: Document GTK_IN_DESTRUCTION.

        * gtk/tmpl/gtkwidget.sgml: Additions.

22 years agotiny docs change
Havoc Pennington [Fri, 4 Jan 2002 21:50:43 +0000 (21:50 +0000)]
tiny docs change

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

* gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change

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

* gtk/question_index.sgml: add question to help people find
gtk_widget_set_sensitive() if they're used to another term for
that.

22 years agoAt least don't infinite loop if the widget and window heirarchies don't
Owen Taylor [Fri, 4 Jan 2002 18:28:18 +0000 (18:28 +0000)]
At least don't infinite loop if the widget and window heirarchies don't

Fri Jan  4 13:05:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_find_widget): At least
        don't infinite loop if the widget and window heirarchies
        don't correspond.

        * gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes
        in heirarchy in ::drag_motion, ::drag_drop callbacks
        by referencing child widget lists. (Patch from Tim)

        * gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem
        with widgets where window.x != widget->allocation.

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 4 Jan 2002 15:16:23 +0000 (15:16 +0000)]
Updated Slovak translation.

2002-01-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.

22 years agoOptimize a little bit. (More for consistency than because it makes much of
Owen Taylor [Fri, 4 Jan 2002 06:38:32 +0000 (06:38 +0000)]
Optimize a little bit. (More for consistency than because it makes much of

Fri Jan  4 01:36:48 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize
a little bit. (More for consistency than because it
makes much of a difference.)

22 years agoPrivate function to tell if we have RENDER extension.
Owen Taylor [Fri, 4 Jan 2002 05:58:01 +0000 (05:58 +0000)]
Private function to tell if we have RENDER extension.

Thu Jan  3 22:18:15 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h
(_gdk_x11_have_render): Private function to tell if we have RENDER
extension.

* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return
None if we don't have RENDER extension.

* gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't
use Xft unless we have render extension.

* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
Handle missing render extension.

* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c
gdk/gdkinternals.h: Add a private copy_to_image() virtual function
to the GdkDrawable vtable that extends get_image() to allow
copying onto existing images.  Make the default implementation of
get_image() use this so that backends don't have to implement
both. Add private wrapper _gdk_drawable_copy_to_image().

* gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c
gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement
copy_to_image() semantics, speed up by using ShmPixmaps and
XCopyArea when possible, XFlush() after ungrabbing the server,
generally redo the logic once again.

* gdk/gdkinternals.h gdk/x11/gdkimage-x11.c
_gdk_windowing_bits_per_depth(): Function to convert from depth to
bits-per-pixel. (We assume only one bpp per depth - X requires
this.)

* gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB
scratch image code into a generic _gdk_image_get_scratch() chunk
of code that we can use other places we need scratch images.

* gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h:
Add _gdk_image_new_for_depth() as the backend
to _gdk_image_new() to allowing creating images with
a depth and no visual.

* gdk/gdkpixbuf-drawable.c: Fix so that getting
parts of images not at 0,0 actually works.

* gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c:
 - Add a new GdkDrawableClass vfunc _draw_pixbuf, and
  _gdk_draw_pixbuf() [ will be made public later ], to allow
  backends to accelerate drawing pixbufs.
 - Move the implementation of gdk_pixbuf_render_to_drawable_alpha()
   to be the default implementation.
 - Update docs for gdk_pixbuf_render_to_drawable_alpha().
 - Optimize the default implementation by using
   _gdk_image_copy_to_pixmap() and scratch shared images, and
   special casing the compositing.

* gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf()
with alpha using the RENDER extension.

        * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
Optimize by _gdk_image_copy_to_pixmap() and scratch images.

* tests/testrgb.c: Add test for speed of alpha composition,
reduce the number of iterations since alpha composition
can be a bit slow.

* gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap):
Private function to get a ShmPixmap for an image, if possible.

22 years agoadd mention of gtk_widget_add_events() and GTK_CAN_FOCUS
Havoc Pennington [Fri, 4 Jan 2002 03:34:12 +0000 (03:34 +0000)]
add mention of gtk_widget_add_events() and GTK_CAN_FOCUS

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

* gtk/tmpl/gtkdrawingarea.sgml: add mention of
gtk_widget_add_events() and GTK_CAN_FOCUS

22 years agoAdd my cool list of integers.
Anders Carlsson [Fri, 4 Jan 2002 00:47:29 +0000 (00:47 +0000)]
Add my cool list of integers.

2002-01-04  Anders Carlsson  <andersca@gnu.org>

* tests/testtreesort.c: Add my cool list of integers.

22 years agoFix problem where retrieved atoms weren't properly returned.
Owen Taylor [Fri, 4 Jan 2002 00:38:15 +0000 (00:38 +0000)]
Fix problem where retrieved atoms weren't properly returned.

Thu Dec 27 18:12:55 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix
problem where retrieved atoms weren't properly returned.

22 years agoFix and uncomment non-MMX version.
Owen Taylor [Fri, 4 Jan 2002 00:34:06 +0000 (00:34 +0000)]
Fix and uncomment non-MMX version.

Thu Jan  3 19:31:58 2002  Owen Taylor  <otaylor@redhat.com>

* pixops/pixops.c (scale_line_22_33): Fix and uncomment
non-MMX version.

* pixops/pixops.c (pixops_composite_nearest): Remove a
division.

* pixops/pixops.c (pixops_composite): Add some docs
about the parameters.

* pixops/README: Add notes about the correct algorithms
for alpha compositing and how to implement them quickly.

22 years agoSmall additions.
Matthias Clasen [Thu, 3 Jan 2002 23:04:44 +0000 (23:04 +0000)]
Small additions.

        * gtk/tmpl/gtktextview.sgml: Small additions.

        * gtk/tmpl/gtksignal.sgml: Explain what to use instead.

        * gtk/question_index.sgml, gtk/text_widget.sgml, gtk/tree_widget.sgml,
        gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
        gtk/framebuffer.sgml: SGML fixes and additions.

        * gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkdialog.sgml,
        gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
        gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkrc.sgml,
        gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtkspinbutton.sgml,
        gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkwindow.sgml:
        Replace references to deprecated functions.

22 years agoWhen tab is pressed and the text view isn't editable, move the focus
Anders Carlsson [Thu, 3 Jan 2002 18:27:16 +0000 (18:27 +0000)]
When tab is pressed and the text view isn't editable, move the focus

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktextview.c (gtk_text_view_key_press_event): When
tab is pressed and the text view isn't editable,
move the focus instead.

22 years agoAdd markup.
Matthias Clasen [Thu, 3 Jan 2002 00:36:09 +0000 (00:36 +0000)]
Add markup.

        * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml,
        gtk/framebuffer.sgml: Add markup.

22 years agoFree dash list if necessary.
Anders Carlsson [Thu, 3 Jan 2002 00:30:39 +0000 (00:30 +0000)]
Free dash list if necessary.

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if
necessary.

* gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list.

* gtk/gtkcolorsel.c (get_focus_gc): Free dash list.

* gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask
if it's NULL.

22 years agoRename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node.
Anders Carlsson [Wed, 2 Jan 2002 23:51:03 +0000 (23:51 +0000)]
Rename gtk_tree_view_queue_draw_node to _gtk_tree_view_queue_draw_node.

2002-01-03  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to
_gtk_tree_view_queue_draw_node.
(gtk_tree_view_row_has_child_toggled): Only redraw one node.

* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func):
sort_column_id can be 0.

* gtk/gtktreeselection.c (gtk_tree_selection_real_select_node):
Only redraw one the node being selected.

* gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node.

22 years agodon't ignore realized but visible && !mapped resize containers (which is
Tim Janik [Wed, 2 Jan 2002 22:08:49 +0000 (22:08 +0000)]
don't ignore realized but visible && !mapped resize containers (which is

Wed Jan  2 23:09:06 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
        realized but visible && !mapped resize containers (which is
        possible with unset CHILD_VISIBLE now).

22 years agoautomake still doesn't support libsomething_la_LDFLAGS, so fix the build
jacob berkman [Wed, 2 Jan 2002 18:34:55 +0000 (18:34 +0000)]
automake still doesn't support libsomething_la_LDFLAGS, so fix the build

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

* gtk/Makefile.am (LDFLAGS): automake still doesn't support
libsomething_la_LDFLAGS, so fix the build again

22 years agopropagate exposes to no window children not in the buffer window.
Havoc Pennington [Wed, 2 Jan 2002 03:49:09 +0000 (03:49 +0000)]
propagate exposes to no window children not in the buffer window.

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

* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
exposes to no window children not in the buffer window.
(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
- is this the right way to do it?
(gtk_text_view_focus): add focus method, just chains up for now,
I'm not sure why the GtkContainer implementation doesn't work

* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
in the text line for the child anchor segment

* tests/testtext.c (do_add_focus_children): add another test
example (to put focusable buttons into the widget)

22 years agomove README.linux-fb in here
Havoc Pennington [Tue, 1 Jan 2002 23:51:00 +0000 (23:51 +0000)]
move README.linux-fb in here

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

* gtk/framebuffer.sgml: move README.linux-fb in here

* gtk/tmpl/gtkpreview.sgml: explain what to use instead

* gtk/tmpl/gtkseparator.sgml: typo fix

* gtk/tmpl/gtkstock.sgml: add some overview docs

* gtk/Makefile.am (content_files): add new files

* gtk/changes-1.2.sgml: move Changes-1.2.txt in here

* gtk/changes-2.0.sgml: move Changes-2.0.txt in here

* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
overview docs, copy in the examples from the FAQ

* gtk/gtk-docs.sgml: change DTD to 3.1, and add
question_index.sgml and changes-1.2, changes-2.0

* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes

* gtk/question_index.sgml: new section with question-based
index of the manual

* gtk/text_widget.sgml: fix some cross-references

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

* docs/README.linux-fb: note that this file is obsolete

* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
files that they should not be edited and look in the reference
manual instead. Probably these files should just be replaced by
the note, and their main contents deleted.

* gtk/gtktextview.c: docs

* gtk/gtktextmark.c: docs

* gtk/gtktextchild.c: docs

* gtk/gtktextbuffer.c: docs stuff

* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
give people more leads in sorting out PRIMARY vs. CLIPBOARD

22 years agoAppend EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource.
Tor Lillqvist [Tue, 1 Jan 2002 22:17:09 +0000 (22:17 +0000)]
Append EXEEXT to ../gdk-pixbuf/gdk-pixbuf-csource.

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

* demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to
../gdk-pixbuf/gdk-pixbuf-csource.

2001-12-31  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error
handling.
(gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall.

* gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc
-Wall.  Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in
one more place.

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc
-Wall.

* gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32.

22 years agodoc fix
Havoc Pennington [Tue, 1 Jan 2002 17:44:46 +0000 (17:44 +0000)]
doc fix

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

* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix

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

* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented

* gtk/text_widget.sgml: small tweaks

22 years agodocs updates, mention that invisible property isn't implemented
Havoc Pennington [Tue, 1 Jan 2002 17:43:44 +0000 (17:43 +0000)]
docs updates, mention that invisible property isn't implemented

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

* gtk/tmpl/gtktexttag.sgml: docs updates, mention that invisible
property isn't implemented

* gtk/text_widget.sgml: small tweaks

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

* gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc
fix

22 years agoReplace call to gtk_widget_size_request() that expected to actually
Havoc Pennington [Tue, 1 Jan 2002 17:17:22 +0000 (17:17 +0000)]
Replace call to gtk_widget_size_request() that expected to actually

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

* gtk/gtktextview.c (changed_handler): Replace call to
gtk_widget_size_request() that expected to actually compute the
request with a direct use of widget_class->size_request, so we get
our size request right; fixes remaining part of #63065 reported by
Matthias Clasen

22 years agoremove backward_char since we no longer have bogus newline
Havoc Pennington [Mon, 31 Dec 2001 22:35:20 +0000 (22:35 +0000)]
remove backward_char since we no longer have bogus newline

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

* tests/testtext.c (do_insert_and_scroll): remove backward_char
since we no longer have bogus newline
(dialog_response_callback): remove another backward_char horkage,
reported by Matthias Clasen #63065

22 years agofix an incorrect assertion that the "valid" flag is always correct in a
Havoc Pennington [Mon, 31 Dec 2001 22:17:26 +0000 (22:17 +0000)]
fix an incorrect assertion that the "valid" flag is always correct in a

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

* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
fix an incorrect assertion that the "valid" flag is always correct
in a node and add explanatory comment. This keeps me from
reproducing #59101, but I'm remembering that 59101 was actually
about incorrect pixel totals, so I'm not sure 59101 is actually
fixed. May just have stopped happening due to some change in
how C-k works.

22 years agoextend selection if shift is down, bug #50939
Havoc Pennington [Mon, 31 Dec 2001 17:58:04 +0000 (17:58 +0000)]
extend selection if shift is down, bug #50939

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

* gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend
selection if shift is down, bug #50939
(gtk_text_view_button_press_event): add double/triple click
selection to the current selection if shift is down

22 years agofix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig
Havoc Pennington [Mon, 31 Dec 2001 16:31:51 +0000 (16:31 +0000)]
fix to use ensure_byte_offsets not ensure_char_offsets, patch from Padraig

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

* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix
to use ensure_byte_offsets not ensure_char_offsets, patch
from Padraig O'Briain bug #67356

22 years agofix GtkDialogFlags to have the right values, reported by Jeff Franks
Havoc Pennington [Mon, 31 Dec 2001 04:43:07 +0000 (04:43 +0000)]
fix GtkDialogFlags to have the right values, reported by Jeff Franks

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

* gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have
the right values, reported by Jeff Franks

22 years agoRemove references to nonexisting functions.
Matthias Clasen [Mon, 31 Dec 2001 00:05:30 +0000 (00:05 +0000)]
Remove references to nonexisting functions.

        * gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.

        * gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml,
        gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
        gtk/tmpl/gtkradiomenuitem.sgml:
        Replace references to deprecated functions.

        * gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.

22 years agoAdditions.
Matthias Clasen [Sun, 30 Dec 2001 22:56:05 +0000 (22:56 +0000)]
Additions.

        * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.

        * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.

22 years agoAdd makefile.msc.
Tor Lillqvist [Sat, 29 Dec 2001 10:09:50 +0000 (10:09 +0000)]
Add makefile.msc.

2001-12-29  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (EXTRA_DIST): Add makefile.msc.

22 years agoGDK instead of Gdk.
Matthias Clasen [Sat, 29 Dec 2001 00:24:25 +0000 (00:24 +0000)]
GDK instead of Gdk.

        * gdk-pixbuf/porting-from-imlib.sgml: GDK instead of Gdk.

        * gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml: Replace references to
        deprecated functions.

        * gdk/tmpl/event_structs.sgml, gdk/tmpl/gcs.sgml,
        gdk/tmpl/images.sgml: Replace references to deprecated functions.

        * gdk/tmpl/properties.sgml, gdk/tmpl/selections.sgml: Additions.

        * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c:
        Minor documentation tweaks.

22 years agoaz:po * updating
Vasif Ismailoglu MD [Fri, 28 Dec 2001 22:06:43 +0000 (22:06 +0000)]
az:po * updating

22 years agoUse G_N_ELEMENTS(). (unicode_classify): Don't return -1 on encountering an
Tor Lillqvist [Fri, 28 Dec 2001 21:52:04 +0000 (21:52 +0000)]
Use G_N_ELEMENTS(). (unicode_classify): Don't return -1 on encountering an

2001-12-28  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS().
(unicode_classify): Don't return -1 on encountering an
unclassified character, but play it safe and return U_BASIC_LATIN.

22 years agoadditional fix for #59314 ('<programlisting>' is changed to '<literal>' in
Vitaly Tishkov [Fri, 28 Dec 2001 15:48:45 +0000 (15:48 +0000)]
additional fix for #59314 ('<programlisting>' is changed to '<literal>' in

2001-12-28 Vitaly Tishkov <tvv@sparc.spb.su>
* gtkwindow.sgml: additional fix for #59314 ('<programlisting>' is
changed to '<literal>' in docs for gtk_window_set_policy ())

22 years agoMake interpretation of misc->xpad/ypad consistent with GtkLabel. Do
Owen Taylor [Thu, 27 Dec 2001 21:42:02 +0000 (21:42 +0000)]
Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do

Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
        of misc->xpad/ypad consistent with GtkLabel. Do
        directional flipping when interpreting misc->xalign/yalign.
        Fix off-by-one error for negative x,y. (#67472, reported
        by Mathieu Lacage)

22 years agoRemove optimization that was causing problems because we called
Owen Taylor [Thu, 27 Dec 2001 20:50:49 +0000 (20:50 +0000)]
Remove optimization that was causing problems because we called

Thu Dec 27 15:45:41 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Remove optimization that was causing problems because
we called gtk_widget_size_request() before we called
gtk_widget_queue_resize() so RESIZE_NEEDED was not
set. Optimization shouldn't mattter now that we
are smart about needlessly size requesting or allocating
widgets. (#67598, reported by Jacob Berkman)

22 years agoCall gdk_window_get_pointer() on menu->bin_window not menu->window, so we
Owen Taylor [Thu, 27 Dec 2001 20:43:58 +0000 (20:43 +0000)]
Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we

Thu Dec 27 15:38:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
        Call gdk_window_get_pointer() on menu->bin_window not
        menu->window, so we get the correct window for the
        menu item. (#65213, Guillermo S. Romero)

22 years agoAllow unsetting the title by setting to NULL. Move docs inline. Update the
Owen Taylor [Thu, 27 Dec 2001 20:22:16 +0000 (20:22 +0000)]
Allow unsetting the title by setting to NULL. Move docs inline. Update the

Thu Dec 27 15:13:44 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
the title by setting to NULL. Move docs inline.
Update the title if the tearoff window already
exists. Code cleanup. (Fixes #65190, reported by
Vitaly Tishkov.)

22 years agogtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key
Owen Taylor [Thu, 27 Dec 2001 19:20:23 +0000 (19:20 +0000)]
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key

Thu Dec 27 14:04:22 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksocket.c (gtk_socket_key_press_event):
gtk/gtkplug.c (gtk_plug_key_press_event): Don't do
special handling of key presses unless we are doing
iter-app embedding. (Fixes #67590, Anders Carlsson)

22 years agofix a few places where I was confused between modelsort iters and other
Kristian Rietveld [Thu, 27 Dec 2001 15:38:10 +0000 (15:38 +0000)]
fix a few places where I was confused between modelsort iters and other

Thu Dec 27 16:37:04 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted),
        (gtk_tree_model_sort_sort_level),
        (gtk_tree_model_sort_insert_value): fix a few places where
        I was confused between modelsort iters and other iters. This was
        really going to happen someday ;)

22 years agoensure we are unprelighted before reordering
Kristian Rietveld [Wed, 26 Dec 2001 22:43:53 +0000 (22:43 +0000)]
ensure we are unprelighted before reordering

Wed Dec 26 23:41:41 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure
        we are unprelighted before reordering

        * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we
        need to break out of the for loop, not return

        * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to
        be pretty stable now, though it still needs some more code
        cleanups.

22 years agoDocument the fact that gtk_paned_set_handle_size() has been removed.
Owen Taylor [Wed, 26 Dec 2001 17:38:39 +0000 (17:38 +0000)]
Document the fact that gtk_paned_set_handle_size() has been removed.

Wed Dec 26 12:32:31 2001  Owen Taylor  <otaylor@redhat.com>

* docs/Changes-2.0.txt: Document the fact that
gtk_paned_set_handle_size() has been removed.

* gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro,
since it pointed to gtk_paned_set_handle_size(), which
was removed. (#66760, Matt Wilson)

22 years agoConnect gtk_drag_hightlight_expose _after_, so it works with widgets that
Owen Taylor [Wed, 26 Dec 2001 17:31:40 +0000 (17:31 +0000)]
Connect gtk_drag_hightlight_expose _after_, so it works with widgets that

Wed Dec 26 12:28:24 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_highlight): Connect
        gtk_drag_hightlight_expose _after_, so it works with
        widgets that paint there entire background. (#66735)

22 years agoAssign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)
Owen Taylor [Wed, 26 Dec 2001 17:21:31 +0000 (17:21 +0000)]
Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)

Wed Dec 26 12:17:06 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the
        allocation to widget->allocation. (Fixes #67290,
        Chris Phelps.)

22 years ago(#67542, reported by Anders Carlsson)
Owen Taylor [Wed, 26 Dec 2001 17:06:13 +0000 (17:06 +0000)]
(#67542, reported by Anders Carlsson)

Wed Dec 26 11:49:01 2001  Owen Taylor  <otaylor@redhat.com>

        (#67542, reported by Anders Carlsson)

        * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge
        rc_style->font_desc with defaul style instead of replacing
        it.

        * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial
        font descriptions in RC styles by calling
        pango_font_description_merge().

22 years ago\7fupdating Azerbaijani po file
Vasif Ismailoglu MD [Mon, 24 Dec 2001 19:32:43 +0000 (19:32 +0000)]
\7fupdating Azerbaijani po file

\7fupdating Azerbaijani po file

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Mon, 24 Dec 2001 01:49:19 +0000 (01:49 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

22 years agos/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
James Henstridge [Mon, 24 Dec 2001 01:34:29 +0000 (01:34 +0000)]
s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.

2001-12-24  James Henstridge  <james@daa.com.au>

        * gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc
        valid with both SGML and XML.

22 years ago1.3.12, interface, binary age 0.
Owen Taylor [Sun, 23 Dec 2001 22:59:30 +0000 (22:59 +0000)]
1.3.12, interface, binary age 0.

Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, interface, binary age 0.

        * configure.in: Require new versions of Glib, Pango, ATK.

        * NEWS: Updated.

        * configure.in: Make explicit what libtool we are executing.
        (Tomas Ogren)

        * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.

        * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
        parameter names for docs.

Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_realize)
          gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.

        * gtk/gtkentry.c (gtk_entry_key_release)
          gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
        key release events to the input method.

        * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
        Handle release of Control/Shift to end hex sequence.

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.

22 years agoFix trailing "," in enumeration.
Owen Taylor [Sun, 23 Dec 2001 22:55:53 +0000 (22:55 +0000)]
Fix trailing "," in enumeration.

Sat Dec 22 15:31:20 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.h: Fix trailing "," in enumeration.

22 years agoAdd gtktextutil.h
Owen Taylor [Sun, 23 Dec 2001 22:55:17 +0000 (22:55 +0000)]
Add gtktextutil.h

Sat Dec 22 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (IGNORE_HFILES): Add gtktextutil.h

        * gtk/text_widget.sgml (linkend): SGML fixes.

        * gtk/gtk-sections.txt: Update

        * gdk/gdk-sections.txt: Update.

        * gdk/tmpl/cursors.sgml: SGML fix.

        * gdk/gdk-docs.sgml: Add PNG handling magic.

22 years ago*** empty log message ***
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:14:31 +0000 (20:14 +0000)]
*** empty log message ***

22 years agoroutine update for Azeri translation file
Vasif Ismailoglu MD [Sat, 22 Dec 2001 20:06:39 +0000 (20:06 +0000)]
routine update for Azeri translation file

routine update for Azeri translation file

22 years agoupdated
Marius Andreiana [Sat, 22 Dec 2001 12:04:35 +0000 (12:04 +0000)]
updated

2001-12-22  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years agoForgotten files, the log entries are already in.
Matthias Clasen [Thu, 20 Dec 2001 23:45:48 +0000 (23:45 +0000)]
Forgotten files, the log entries are already in.

22 years agoForgotten files.
Matthias Clasen [Thu, 20 Dec 2001 23:44:19 +0000 (23:44 +0000)]
Forgotten files.

22 years agoForgotten log entry.
Matthias Clasen [Thu, 20 Dec 2001 23:42:08 +0000 (23:42 +0000)]
Forgotten log entry.

22 years agoTrivial doc adjustment.
Matthias Clasen [Thu, 20 Dec 2001 23:38:24 +0000 (23:38 +0000)]
Trivial doc adjustment.

22 years agoMore precise documentation about underscores and mnemonics. (#66380)
Matthias Clasen [Thu, 20 Dec 2001 23:09:29 +0000 (23:09 +0000)]
More precise documentation about underscores and mnemonics. (#66380)

        * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
        gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
        documentation about underscores and mnemonics. (#66380)

        * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
        cyclic reference in docs.

        * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
        of default value. (#65402)

        * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
        Markup fixes.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

        * gtk/text_widget.sgml: More precise wording. (#63388)

        * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.

        * gtk/resources.sgml: Fix markup of mail URLs.

        * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.

        * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
        Expand documentation. (#60471)

        * gtk/tmpl/gtkmain.sgml: Remove misleading information about
        gtk_set_locale().  (#65758)

22 years agoDon't call map here.
Anders Carlsson [Thu, 20 Dec 2001 04:06:01 +0000 (04:06 +0000)]
Don't call map here.

2001-12-20  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c (gtk_tree_view_realize): Don't call
map here.

22 years agoUpdated Swedish translation.
Christian Rose [Wed, 19 Dec 2001 20:22:32 +0000 (20:22 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

22 years agoroutine update
Vasif Ismailoglu MD [Wed, 19 Dec 2001 19:09:57 +0000 (19:09 +0000)]
routine update

22 years agoExplicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.)
Owen Taylor [Tue, 18 Dec 2001 21:17:49 +0000 (21:17 +0000)]
Explicitely deprecate gdk_gc_set_font() (reported by Jeff Franks.)

Tue Dec 18 16:15:55 2001  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkgc.h: Explicitely deprecate gdk_gc_set_font()
        (reported by Jeff Franks.)

22 years agoFix prototype for direction_changed. (Reported by Jeff Franks.)
Owen Taylor [Tue, 18 Dec 2001 21:10:04 +0000 (21:10 +0000)]
Fix prototype for direction_changed. (Reported by Jeff Franks.)

Tue Dec 18 16:07:28 2001  Owen Taylor  <otaylor@redhat.com>
        * gdk/gdkkeys.h (struct _GdkKeymapClass): Fix
        prototype for direction_changed. (Reported by
        Jeff Franks.)

22 years agoChange GdkWidget to GtkWidget. Fixes #67162.
Anders Carlsson [Tue, 18 Dec 2001 16:28:17 +0000 (16:28 +0000)]
Change GdkWidget to GtkWidget. Fixes #67162.

2001-12-18  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkdrawingarea.sgml: Change GdkWidget to
GtkWidget. Fixes #67162.

22 years agoUpdated Ukrainian translation
Yuri Syrota [Tue, 18 Dec 2001 11:15:26 +0000 (11:15 +0000)]
Updated Ukrainian translation

22 years agoFix typo (list->data becomes list->next)
Padraig O'Briain [Tue, 18 Dec 2001 08:06:34 +0000 (08:06 +0000)]
Fix typo (list->data becomes list->next)

* gtk/gtktreeview.c (gtk_tree_view_get_expander_column):
Fix typo (list->data becomes list->next)

22 years agoMarkup fixes.
Matthias Clasen [Mon, 17 Dec 2001 23:07:49 +0000 (23:07 +0000)]
Markup fixes.

        * gdk-pixbuf/tmpl/creating.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
        gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.

        * gtk/building.sgml, gtk/resources.sgml: Markup fixes.

        * gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)

        * gdk/tmpl/general.sgml: Use <envar>, not <envvar>.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

22 years agoMarkup fixes.
Matthias Clasen [Mon, 17 Dec 2001 23:06:47 +0000 (23:06 +0000)]
Markup fixes.

        * gdk-pixbuf/tmpl/creating.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-from-drawables.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-init.sgml,
        gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rendering.sgml,
        gdk-pixbuf/tmpl/refcounting.sgml: Markup fixes.

        * gtk/building.sgml, gtk/resources.sgml: Markup fixes.

        * gtk/gtk.types: Remove gtk_text_layout_get_type(). (???)

        * gdk/tmpl/general.sgml: Use <envar>, not <envvar>.

        * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
        gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
        gdk-pixdata.c: Markup fixes.

22 years agoAdd Unicode control char menu, based on patch from Dov. Bug #63495
Havoc Pennington [Mon, 17 Dec 2001 16:46:08 +0000 (16:46 +0000)]
Add Unicode control char menu, based on patch from Dov. Bug #63495

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

        Add Unicode control char menu, based on patch from Dov.
        Bug #63495

        * gtk/gtkentry.c (gtk_entry_commit_cb): share code via
        gtk_entry_enter_text
        (gtk_entry_enter_text): function to do "typing in text"
        (popup_targets_received): add the Unicode menu items

        * gtk/gtktextview.c (popup_targets_received): add missing mnemonic
        on Input Methods item, and add the unicode menu items.

        * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
        used in GtkEntry and GtkTextView - may become public later.

22 years agoput _simple variants at the top of the docs
Havoc Pennington [Sun, 16 Dec 2001 21:12:13 +0000 (21:12 +0000)]
put _simple variants at the top of the docs

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

* gdk-pixbuf/gdk-pixbuf-sections.txt: put _simple variants at the
top of the docs

22 years agosmall doc tweaks, specifically some "just do XYZ" advice next to the
Havoc Pennington [Sun, 16 Dec 2001 21:09:30 +0000 (21:09 +0000)]
small doc tweaks, specifically some "just do XYZ" advice next to the

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

* gdk-pixbuf/tmpl/scaling.sgml: small doc tweaks, specifically
some "just do XYZ" advice next to the InterpMode technojargon.

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

* gdk-pixbuf-scale.c: docs enhancements

22 years agoAdd something about GdkModifierType.
Matthias Clasen [Sun, 16 Dec 2001 19:32:19 +0000 (19:32 +0000)]
Add something about GdkModifierType.

        * gdk/tmpl/windows.sgml: Add something about GdkModifierType.

22 years agoFix a typo. Fix a typo.
Kjartan Maraas [Sun, 16 Dec 2001 17:00:55 +0000 (17:00 +0000)]
Fix a typo. Fix a typo.

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

* gtk/gtkprogressbar.c: Fix a typo.
* gtk/gtkpaned.c: Fix a typo.

22 years ago Fix some warnings.
Darin Adler [Sat, 15 Dec 2001 17:17:56 +0000 (17:17 +0000)]
Fix some warnings.

* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
Restructure loop to get rid of uninitialized variable warning. Also
gives a tiny efficiency gain.

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 15 Dec 2001 15:38:31 +0000 (15:38 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

22 years agoFixed first arg type of GtkScale's format_value signal's function pointer.
Murray Cumming [Sat, 15 Dec 2001 11:11:42 +0000 (11:11 +0000)]
Fixed first arg type of GtkScale's format_value signal's function pointer.

* Fixed first arg type of GtkScale's format_value signal's
function pointer.

22 years agoupdated
Marius Andreiana [Sat, 15 Dec 2001 07:13:02 +0000 (07:13 +0000)]
updated

2001-12-15  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years ago2001-12-14 Vitaly Tishkov tvv@sparc.spb.su
Vitaly Tishkov [Fri, 14 Dec 2001 18:57:39 +0000 (18:57 +0000)]
2001-12-14            Vitaly Tishkov       tvv@sparc.spb.su
        docs/reference/gtk/tmpl/gtkcelleditable.sgml
                gtkcelleditable -> GtkCellEditable
        docs/reference/gtk/tmpl/gtktreesortable.sgml
                gtktreesortable -> GtkTreeSortable

22 years agoUse g_ascii_strcasecmp() instead of g_strcasecmp().
Sebastian Wilhelmi [Fri, 14 Dec 2001 09:40:20 +0000 (09:40 +0000)]
Use g_ascii_strcasecmp() instead of g_strcasecmp().

2001-12-14  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().

22 years agoRemove assorted G_OBJECT casts where unnecessary.
Sebastian Wilhelmi [Thu, 13 Dec 2001 21:22:12 +0000 (21:22 +0000)]
Remove assorted G_OBJECT casts where unnecessary.

2001-12-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk-pixbuf-animation.c, gdk-pixbuf-loader.c, gdk-pixpuf.c,
io-gif-animation.c, io-gif.c, io-tiff.c, test-loaders.c: Remove
assorted G_OBJECT casts where unnecessary.

* gdk-pixbuf-loader.c: Call g_object_ref and g_object_unref
instead of gdk_pixbuf_animation_ref and gdk_pixbuf_animation_unref
resp.

* gdk-pixbuf-csource.c, io-bmp.c, io-gif-animation.c, io-ico.c,
io-jpeg.c, io-png.c, io-pnm.c, io-ras.c, io-tga.c, io-wbmp.c,
io-xbm.c, io-xpm.c, test-gdk-pixbuf.c: Dito for gdk_pixbuf_ref and
gdk_pixbuf_unref.

* Makefile.am, pixops/Makefile.am: Compile everything with
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED

* gdk-pixdata.c: Use g_ascii_strup() instead of g_strup().

* io-xpm.c: Use g_ascii_strcasecmp() instead of g_strcasecmp().

* demos/testpixbuf-drawable.c, demos/testpixbuf-save.c,
demos/testpixbuf-scale.c, demos/testpixbuf.c: Call g_object_ref
and g_object_unref instead of gdk_pixbuf_ref and gdk_pixbuf_unref
resp.

22 years agofree path at the end
Kristian Rietveld [Thu, 13 Dec 2001 21:01:46 +0000 (21:01 +0000)]
free path at the end

Thu Dec 13 22:02:41 2001  Kristian Rietveld   <kris@gtk.org>

        * gtk/gtktreeview.c (validate_visible_area): free path
        at the end

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Thu, 13 Dec 2001 19:59:18 +0000 (19:59 +0000)]
Updated Norwegian (bokmål) translation.

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

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

22 years agoMarkup fixes.
Matthias Clasen [Thu, 13 Dec 2001 19:51:24 +0000 (19:51 +0000)]
Markup fixes.

        * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.

        * gdk-pixbuf-io.c: Markup fixes.

        * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
        gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
        gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
        gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
        gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
        gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
        gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
        gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
        gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
        gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
        gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
        gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
        gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
        gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
        gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
        gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
        gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).

22 years agodo not try to find the clicked node in the tree when tree == NULL
Kristian Rietveld [Thu, 13 Dec 2001 19:36:40 +0000 (19:36 +0000)]
do not try to find the clicked node in the tree when tree == NULL

Thu Dec 13 20:37:27 2001  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try
        to find the clicked node in the tree when tree == NULL