]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoAdd headers. Add section about ActiveIMM.
Tor Lillqvist [Thu, 8 Nov 2001 20:57:18 +0000 (20:57 +0000)]
Add headers. Add section about ActiveIMM.

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

* README.win32: Add headers. Add section about ActiveIMM.

* configure.in: Add --with-ie55 flag to specify the location of
the "IE55 libs and headers" package downloadable from Microsoft,
which contains, among other things, the Active IMM header dimm.h
and UUID library uuid.lib. Use test -f instead of AC_CHECK_FILE.
Require GLib 1.3.10.

* config.h.win32.in: New version, produced by merging two
configure-generated ones (for gcc and MSVC). Hopefully #defines
the same flags that the previous, hand-written one, did.

* gdk/Makefile.am
* gdk/win32/Makefile.am: Handle the uuid library from the IE55 lib.

* gdk/win32/gdkevents-win32.c: Conditionalize ActiveIMM
stuff. Remove unused GdkIOClosure.

* gdk/win32/surrogate-dimm.h: Remove, use real dimm.h instead (if
available).

* gdk/win32/libie55uuid.la: New file, handwritten libtool wrapper
for uuid.lib. (Does it really have to be this hard to use an
existing library with libtool? Probably I am missing something.)

22 years agoFix an obvious typo where it says LEFT instead of CENTER.
Darin Adler [Thu, 8 Nov 2001 18:56:23 +0000 (18:56 +0000)]
Fix an obvious typo where it says LEFT instead of CENTER.

* gtk/gtklabel.c: (gtk_label_ensure_layout): Fix an obvious
typo where it says LEFT instead of CENTER.

22 years agoAdd g_return_if_fail.
Darin Adler [Wed, 7 Nov 2001 18:12:25 +0000 (18:12 +0000)]
Add g_return_if_fail.

* gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive),
(gtk_dialog_set_default_response): Add g_return_if_fail.

22 years agoAdd row_draggable() vfunc, and wrapper function.
Owen Taylor [Tue, 6 Nov 2001 19:10:03 +0000 (19:10 +0000)]
Add row_draggable() vfunc, and wrapper function.

Mon Nov  5 22:34:29 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
Add row_draggable() vfunc, and wrapper function.

* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
row_drop_possible take a GtkSelectionData, rather than
model/row pair.

* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
new DND interfaces.

* gtk/gtktreeview.[ch]: Remove the row_draggable_func
location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
and rename them to enable_model_drag_source/dest.

* gtk/treeviewcolumn.c: Add DND of columns between rows.
Still can't drop _to_ the left tree, but other places
work.

* gtk/gtktreeview.c (unset_reorderable): Unset the
reorderable property if unset/enable_model_drag_source/dest
are called manually.

* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
Correct for change in depth count handling.

* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
Pass in a expose area to gtk_tree_view_column_cell_render()

22 years agowacky easter egg
Havoc Pennington [Tue, 6 Nov 2001 18:25:15 +0000 (18:25 +0000)]
wacky easter egg

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

* demos/gtk-demo/textview.c (easter_egg_callback): wacky easter egg

22 years agolost this file due to CVS broken pipe
Havoc Pennington [Tue, 6 Nov 2001 17:12:42 +0000 (17:12 +0000)]
lost this file due to CVS broken pipe

22 years agoFix misplaced HAVE_XFT.
Owen Taylor [Tue, 6 Nov 2001 15:14:09 +0000 (15:14 +0000)]
Fix misplaced HAVE_XFT.

Tue Nov  6 10:13:16 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT.

22 years agoexpose the child widgets in here (gtk_text_view_realize): set parent
Havoc Pennington [Tue, 6 Nov 2001 00:54:24 +0000 (00:54 +0000)]
expose the child widgets in here (gtk_text_view_realize): set parent

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

* gtk/gtktextview.c (gtk_text_view_paint): expose the child
widgets in here
(gtk_text_view_realize): set parent window of child widgets
(gtk_text_view_size_request): use child req to decide whether
to invalidate layout, not widget->requisition

* gtk/gtktextdisplay.c (render_layout_line): set
shaped_width_pixels for NULL shape objects, so that we properly
draw the "missing pixbuf/widget" thing
(render_layout_line): don't draw the widget here
(gtk_text_layout_draw): pass out a list of widgets that need exposing

* demos/gtk-demo/textview.c (insert_text): add demo of child
widgets

* gtk/gtktextlayout.c (add_child_attrs): remove debug spew

* gtk/gtktextdisplay.c (render_layout_line): remove debug spew

* gtk/gtktextview.c (gtk_text_view_update_child_allocation): add
scroll offsets
(gtk_text_view_value_changed): poke new X and Y into child allocations

22 years agoDo search GTK_BINARY_VERSION -specific directory on Windows, too (#63759).
Tor Lillqvist [Tue, 6 Nov 2001 00:40:19 +0000 (00:40 +0000)]
Do search GTK_BINARY_VERSION -specific directory on Windows, too (#63759).

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

* gtk/gtkmain.c (find_module): Do search GTK_BINARY_VERSION
-specific directory on Windows, too (#63759).

22 years agoupdated
Marius Andreiana [Mon, 5 Nov 2001 19:07:53 +0000 (19:07 +0000)]
updated

2001-11-05  Marius Andreiana  <mandreiana@yahoo.com>

        * ro.po: updated

22 years agoRedo Xft support to go directly to Picture objects instead of using
Owen Taylor [Mon, 5 Nov 2001 17:48:58 +0000 (17:48 +0000)]
Redo Xft support to go directly to Picture objects instead of using

Mon Nov  5 12:46:44 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
gdk/x11/gdkpixmap-x11.c gdk/x11/gdkprivate-x11.h
gdk/x11/gdkwindow-x11.c: Redo Xft support to go
directly to Picture objects instead of using XftDraw.
This fixes the problem where we weren't able to
properly destroy XftDraw objects before destroying
the accompanying windows, and probably improves
efficiency a bit too. (#50214)

22 years agoClamp max window width/height to 32767, not 32768 since we have to be able
Owen Taylor [Mon, 5 Nov 2001 15:56:50 +0000 (15:56 +0000)]
Clamp max window width/height to 32767, not 32768 since we have to be able

Mon Nov  5 10:01:49 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position):
Clamp max window width/height to 32767, not 32768 since
we have to be able to deal with a dx/y of -32768 without
getting a width of 65536 when guffaw scrolling.

* gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll()
for the guffaw scrolling case, fixing some problems with
copy-area case as well. Fix BadValue bug with moving windows
by large amounts.

* gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update
clip in window structue before calling gdk_window_invalidate_region
since that trims new invalidations to the window's visible
region.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities):
Really set the static window gravity on the children, not
repeatedly on the window.

* gtk/testgtk.c: Add a torture test for big windows and
gdk_window_scroll().

22 years agosigsetjmp is macroized in some places, so use AC_TRY_LINK instead of
Manish Singh [Mon, 5 Nov 2001 01:39:22 +0000 (01:39 +0000)]
sigsetjmp is macroized in some places, so use AC_TRY_LINK instead of

Sun Nov  4 17:36:08 2001  Manish Singh  <yosh@gimp.org>

        * acconfig.h configure.in: sigsetjmp is macroized in some places,
        so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.

22 years agoImplement gdk_color_parse() in terms of pango_color_parse().
Owen Taylor [Mon, 5 Nov 2001 00:23:45 +0000 (00:23 +0000)]
Implement gdk_color_parse() in terms of pango_color_parse().

Sun Nov  4 19:16:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
        in terms of pango_color_parse().

        * gdk/{linux-fb,win32,x11}/gdkcolor-*.c: Remove port-specific
        gdk_color_parse() implementations.

22 years agoqueue_resize_on_group with both the old and new mode, not just the new
Owen Taylor [Sun, 4 Nov 2001 23:43:37 +0000 (23:43 +0000)]
queue_resize_on_group with both the old and new mode, not just the new

Sun Nov  4 18:39:43 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksizegroup.c (gtk_size_group_set_mode):
queue_resize_on_group with both the old and new mode, not
just the new mode. (#60171, Nicolas Setton). Also, notify
the "mode" property.

22 years agoAdd a function gdk_window_invalidate_maybe_recurse() for use in "shallow
Owen Taylor [Sun, 4 Nov 2001 22:57:03 +0000 (22:57 +0000)]
Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow

Sun Nov  4 16:02:08 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse()
        for use in "shallow invalidation" of a widget. (Windows belonging
        to the widget, but not to the widget's children)

        * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private
        flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED.  These flags are set
        up on ancestors up to the resize container on queue_resize. Size
        requests only actually take place if GTK_REQUEST_NEEDED, size
        allocations only take place if GTK_ALLOC_NEEDED or the size
        changed.

        * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove
        container->resize_widgets and the RESIZE_NEEDED flag since the
        above flags are sufficient to figure out what needs to be
        resized/reallocated. Remove code manipulating
        container->resize_widget.

        * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this
        allows widgets to turn off being automatically invalidated is when
        they are resized.

        * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when
        a widget is resized or moved is "shallow" as described above -
        only the windows that need to be invalidated are invalidated.

        * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt:
        Make these widget's init functions call
        gtk_widget_set_redraw_on_allocate(widget,FALSE).

        * gtk/gtkwindow.c (gtk_window_configure_event): Call
        _gtk_container_queue_resize(), since we don't want
        redrawing. (Probably could be done for other
        calls to gtk_widget_queue_resize() in gtkwindow.c,
        but this is the most important one.)

        * gtk/gtkwindow.c (gtk_window_move_resize): Don't call
        gtk_widget_queue_draw() - size_allocate() handles
        that as appropriate.

        * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead
        of queue_clear() to avoid invalidating children.

22 years agodon't free the module name until after we load the module
jacob berkman [Sun, 4 Nov 2001 20:14:41 +0000 (20:14 +0000)]
don't free the module name until after we load the module

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

* gtk/gtkmain.c (find_module): don't free the module name until
after we load the module

22 years agoConvert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed
Owen Taylor [Sun, 4 Nov 2001 19:57:17 +0000 (19:57 +0000)]
Convert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed

Sat Nov  3 13:57:21 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
        derivation instead of boxed derivation.

        * gtk/gtkmarshal.list: Remove some now unused marshallers.

22 years agoCan't include gtkprivate.h (I added the include yesterday, without really
Tor Lillqvist [Sat, 3 Nov 2001 23:26:03 +0000 (23:26 +0000)]
Can't include gtkprivate.h (I added the include yesterday, without really

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

* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
include yesterday, without really thinking), as that defeats the
working of correct_libdir_prefix() (it becomes a no-op.). Add
comment mentioning that. Thanks to Hans Breuer for noticing.

22 years agoUse GtkWindow* as first signal argument (was GtkWidget*).
Daniel Elstner [Sat, 3 Nov 2001 23:02:40 +0000 (23:02 +0000)]
Use GtkWindow* as first signal argument (was GtkWidget*).

2001-11-03  Daniel Elstner  <daniel.elstner@gmx.net>

* gtk/gtkwindow.h (frame_event): Use GtkWindow* as first
signal argument (was GtkWidget*).

* gtk/gtkwindow.c (gtk_window_frame_event),
  gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event):
Fixed argument types as above, removed GTK_WINDOW casts and
added some GTK_WIDGET casts instead.

22 years agochain finalize to parent class to get removed from the toplevel_list.
Hans Breuer [Sat, 3 Nov 2001 20:47:50 +0000 (20:47 +0000)]
chain finalize to parent class to get removed from the toplevel_list.

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

* gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
finalize to parent class to get removed from the toplevel_list.
Should fix 'random' crashes of #63474.

* gtk/gtktreemodelsort.c : chain finalize() to parent class

22 years agogdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref
Sebastian Wilhelmi [Sat, 3 Nov 2001 18:49:43 +0000 (18:49 +0000)]
gdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref

2001-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gdk-pixbuf/tmpl/refcounting.sgml,
gdk-pixbuf/porting-from-imlib.sgml, tmpl/creating.sgml:
gdk_rgb_init() doesn't need to be called anymore. Use
g_object_(un)_ref instead of gdk_pixbuf_(un)ref.

* tmpl/module_interface.sgml: Typo fix.

* gdk-pixbuf/gdk-pixbuf.sgml: Fixed jade complaining about '_' by
replacing it with '-'. Now builds again.

* gdk-pixbuf-loader.c, gdk-pixbuf-scale.c: Documentation fixes.

22 years agoCorrect some renamed functions.
Tor Lillqvist [Sat, 3 Nov 2001 00:44:35 +0000 (00:44 +0000)]
Correct some renamed functions.

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

* gtk/gtk.def: Correct some renamed functions.

* gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on
Windows to turn build-time paths from a gtk.immodules distributed
as part of a binary package into runtime ones in the
end-user-chosen installation directory.
(gtk_im_module_init): Use it for module path and domain
directory.

22 years agoUse -no-undefined on Windows. Look for .dll or .so as appropriate as
Tor Lillqvist [Fri, 2 Nov 2001 22:56:59 +0000 (22:56 +0000)]
Use -no-undefined on Windows. Look for .dll or .so as appropriate as

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

* modules/input/Makefile.am: Use -no-undefined on Windows. Look
for .dll or .so as appropriate as module suffix.

* gtk-zip.sh.in: Use correct import library names.

* gtk/gtk.def: Add a couple of missing entry points. (#63585)

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

* gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous
comma.  Include gtkprivate.h for GTK_LIBDIR etc definitions on
Windows.

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

* Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc
files. Configure on Win32 (running on Cygwin) thinks symlinks
exist, but pkg-config is not necesarily a Cygwin program, and
doesn't understand them.

22 years agoClean up height code a bit. I don't think it's completely correct yet, but
Jonathan Blandford [Fri, 2 Nov 2001 21:47:27 +0000 (21:47 +0000)]
Clean up height code a bit. I don't think it's completely correct yet, but

Fri Nov  2 16:45:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code
a bit.  I don't think it's completely correct yet, but it's
getting there.

22 years agoRemove random + 5 for width and height. If people want padding, they
Owen Taylor [Fri, 2 Nov 2001 21:16:54 +0000 (21:16 +0000)]
Remove random + 5 for width and height. If people want padding, they

Fri Nov  2 16:14:15 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkviewport.c (gtk_viewport_size_request): Remove
random + 5 for width and height. If people want padding,
they should add padding. (Note the +5 isn't padding
that will always appear - it just appears in the case
where the widget is allocated it's requisition.)
(#51018, Janet Davis)

22 years agoPad the structure for future expansion.
Owen Taylor [Fri, 2 Nov 2001 20:54:18 +0000 (20:54 +0000)]
Pad the structure for future expansion.

Fri Nov  2 15:53:23 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
the structure for future expansion.

22 years agoPatch from HideToshi Tajima (#51922)
Owen Taylor [Fri, 2 Nov 2001 20:48:15 +0000 (20:48 +0000)]
Patch from HideToshi Tajima (#51922)

Fri Nov  2 15:30:34 2001  Owen Taylor  <otaylor@redhat.com>

        Patch from HideToshi Tajima (#51922)

        * gtk/gtkimmulticontext.c: Proxy set_use_preedit().

        * gtk/modules/input/gtkimcontextxim.[ch]: Implement
        set_use_preedit().

        * gtk/modules/input/gtkimcontextxim.[ch]: If we have
        to destroy the input context because we change the
        client window or use_preedit, make sure we empty
        the preedit string.

22 years agoGo to the GUP proposed ordering of buttons with [OK] in the lower right
Owen Taylor [Fri, 2 Nov 2001 20:02:44 +0000 (20:02 +0000)]
Go to the GUP proposed ordering of buttons with [OK] in the lower right

Fri Nov  2 14:55:53 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c,
gtkgamma.c,gtkmessagedialog.c}: Go to the GUP
proposed ordering of buttons with [OK] in the lower
right hand corner. Patch from Gregory Merchan,
#56331.

22 years agoremove extraneous gtk_label_clear_layout (label)
Jonathan Blandford [Fri, 2 Nov 2001 17:18:01 +0000 (17:18 +0000)]
remove extraneous gtk_label_clear_layout (label)

Fri Nov  2 11:51:49 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtklabel.c (gtk_label_select_region_index): remove
extraneous gtk_label_clear_layout (label)

22 years agoRemoved -DGTK_DISABLE_COMPAT_H.
Sebastian Wilhelmi [Fri, 2 Nov 2001 15:39:04 +0000 (15:39 +0000)]
Removed -DGTK_DISABLE_COMPAT_H.

2001-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* tests/makefile.msc, gtk/makefile.msc.in: Removed
-DGTK_DISABLE_COMPAT_H.

* docs/Changes-2.0.txt:
s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/

* gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS.

22 years agoConvert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
Owen Taylor [Fri, 2 Nov 2001 15:27:27 +0000 (15:27 +0000)]
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)

Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>

* examples/**/Makefile.am: Convert to use pkg-config
rather than gtk-config. (#53375, Skip Montanaro)

22 years agoremove totally broken unused, non-compiling, static function.
Matt Wilson [Fri, 2 Nov 2001 14:49:37 +0000 (14:49 +0000)]
remove totally broken unused, non-compiling, static function.

2001-11-02  Matt Wilson  <msw@redhat.com>

* gtk/gtkdialog.c (find_child_by_response_id): remove totally
broken unused, non-compiling, static function.

22 years agoIterate through children of the action area, not of the vbox. (#58278,
Owen Taylor [Fri, 2 Nov 2001 13:20:17 +0000 (13:20 +0000)]
Iterate through children of the action area, not of the vbox. (#58278,

Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_set_response_sensitive):
Iterate through children of the action area, not of
the vbox. (#58278, Sergey Kuzminov)

22 years agohandle -1 argument in order to remove a workaround in Nautilus that forced
Havoc Pennington [Fri, 2 Nov 2001 05:22:07 +0000 (05:22 +0000)]
handle -1 argument in order to remove a workaround in Nautilus that forced

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

* gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
order to remove a workaround in Nautilus that forced
GTK_ENABLE_BROKEN

* gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs

22 years agoPatch from George Lebl to fix division by zero for full scroll bars.
Owen Taylor [Fri, 2 Nov 2001 01:13:31 +0000 (01:13 +0000)]
Patch from George Lebl to fix division by zero for full scroll bars.

Thu Nov  1 20:09:31 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkrange.c: Patch from George Lebl to
fix division by zero for full scroll bars. (#62114)

22 years agoref/unref around gtk_widget_event() if we are going to set a flag
Owen Taylor [Fri, 2 Nov 2001 01:00:40 +0000 (01:00 +0000)]
ref/unref around gtk_widget_event() if we are going to set a flag

Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmain.c (gtk_main_do_event): ref/unref
around gtk_widget_event() if we are going to
set a flag afterwards. (#63464)

22 years agoActually add the missing/broken image icon as the image for the "missing
Owen Taylor [Fri, 2 Nov 2001 00:48:28 +0000 (00:48 +0000)]
Actually add the missing/broken image icon as the image for the "missing

Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
Actually add the missing/broken image icon as the
image for the "missing image" stock icon.

22 years agoSet a reasonable default height for the window.
Owen Taylor [Fri, 2 Nov 2001 00:25:14 +0000 (00:25 +0000)]
Set a reasonable default height for the window.

Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>

* demos/gtk-demo/stock_browser.c (do_stock_browser):
Set a reasonable default height for the window.

* demos/gtk-demo/stock_browser.c (id_to_macro): Fix
bug where subsequent '-' weren't converted to '_'.
(#59550, Matthias Clasen)

* demos/gtk-demo/appwindow.c (menu_items): Don't right
justify the Help menu - just include a comment on
how to do it. (#63539,  Marius Andreiana)

* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't
list GTK_ICON_SIZE_INVALID.

* demos/gtk-demo/stock_browser.c: Show the biggest available
size, not a fixed size. (Often reported, including #63539,
Marius Andreiana)

22 years agoFix reorder_fixup, #59583
Jonathan Blandford [Fri, 2 Nov 2001 00:13:30 +0000 (00:13 +0000)]
Fix reorder_fixup, #59583

Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
#59583

* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
warning.

22 years agoMake GtkFunction return boolean, not gint. (Daniel Elstner).
Owen Taylor [Thu, 1 Nov 2001 21:54:52 +0000 (21:54 +0000)]
Make GtkFunction return boolean, not gint. (Daniel Elstner).

Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
(Daniel Elstner).

22 years agoAdd: - A ::retrieve_surrounding signal that asks the widget for context
Owen Taylor [Thu, 1 Nov 2001 21:50:58 +0000 (21:50 +0000)]
Add: - A ::retrieve_surrounding signal that asks the widget for context

Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontext.[ch]: Add:
  - A ::retrieve_surrounding signal that asks the widget for
    context around the insertion point.
  - A ::delete_surrounding signal that asks the widget to
    delete context aroudn the insertion point.
  - gtk_im_context_set_context() for widgets to set context
    around the insertion point in response to ::retrieve_context.
  - gtk_im_context_get_context() for context to get context
    around the insertion point

* gtkmarshal.list: Add BOOL:INT,INT

* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
set_surrounding() methods, and the ::retrieve_surrounding /
::delete_surrounding signals.

* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
GtkIMContext::retrieve_surrounding / ::delete_surrounding
signals.

22 years agoit's amazing how well things work sometimes, even when they're completely
Jonathan Blandford [Thu, 1 Nov 2001 20:46:01 +0000 (20:46 +0000)]
it's amazing how well things work sometimes, even when they're completely

Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
it's amazing how well things work sometimes, even when they're
completely wrong.

* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
where you could try to collapse a node w/o it having children.

(gtk_tree_view_class_init): remove Shift L<->R as they already
existed for expand/collapse.

22 years agoFix crash found by Matt Wilson.
Jonathan Blandford [Thu, 1 Nov 2001 17:23:03 +0000 (17:23 +0000)]
Fix crash found by Matt Wilson.

Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
found by Matt Wilson.

22 years agoSupport Shift, Control, and Shift|Control L<->R, #63475
Jonathan Blandford [Thu, 1 Nov 2001 06:29:35 +0000 (06:29 +0000)]
Support Shift, Control, and Shift|Control L<->R, #63475

Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
Control, and Shift|Control L<->R, #63475

22 years agofix infinite loop noticed by yosh.
Jonathan Blandford [Thu, 1 Nov 2001 00:06:32 +0000 (00:06 +0000)]
fix infinite loop noticed by yosh.

Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
infinite loop noticed by yosh.

22 years agounset the GTK_REALIZED flag so we don't re-enter when we are destroyed
Michael Meeks [Wed, 31 Oct 2001 23:58:31 +0000 (23:58 +0000)]
unset the GTK_REALIZED flag so we don't re-enter when we are destroyed

2001-11-01  Michael Meeks  <michael@ximian.com>

* gtk/gtksocket.c (gtk_socket_unrealize): unset the
GTK_REALIZED flag so we don't re-enter when we are
destroyed from the plug side.

22 years agoAdd a "menu" property and notify on it. (#62798, Padraig O'Briain)
Owen Taylor [Wed, 31 Oct 2001 23:49:09 +0000 (23:49 +0000)]
Add a "menu" property and notify on it. (#62798, Padraig O'Briain)

Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
Add a "menu" property and notify on it. (#62798,
Padraig O'Briain)

* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
Fix set_text to take a gchar, not a guchar, and to have
a len argument.

22 years agofix typo to make it compile
Manish Singh [Wed, 31 Oct 2001 23:33:22 +0000 (23:33 +0000)]
fix typo to make it compile

Wed Oct 31 15:31:13 2001  Manish Singh  <yosh@gimp.org>

        * gtk/gtkstock.c: fix typo to make it compile

22 years agodon't know why this didn't commit
Jonathan Blandford [Wed, 31 Oct 2001 22:57:51 +0000 (22:57 +0000)]
don't know why this didn't commit

22 years agoif the widget is insensitive, draw the text insensitively, #63306
Jonathan Blandford [Wed, 31 Oct 2001 22:57:28 +0000 (22:57 +0000)]
if the widget is insensitive, draw the text insensitively, #63306

Wed Oct 31 17:27:20 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if
the widget is insensitive, draw the text insensitively, #63306

22 years agoAdd stock items for most stock icons. (#61757)
Matthias Clasen [Wed, 31 Oct 2001 22:27:29 +0000 (22:27 +0000)]
Add stock items for most stock icons. (#61757)

        * gtk/gtkstock.c: Add stock items for most stock icons. (#61757)

22 years agoinclude initialization_versions.sgml, file-saving.sgml and
Matthias Clasen [Wed, 31 Oct 2001 22:07:13 +0000 (22:07 +0000)]
include initialization_versions.sgml, file-saving.sgml and

        * gdk-pixbuf/gdk-pixbuf.sgml: include initialization_versions.sgml,
        file-saving.sgml and module_interface.sgml.

        * gdk-pixbuf/tmpl/module_interface.sgml: add short description.

        * gtk/tmpl/gtkarg.sgml, gtk/tmpl/gtkdata.sgml,
        gtk/tmpl/gtkcellrenderertextpixbuf.sgml: removed, since they described
        no longer existent stuff and aren't included anymore.

        * gdk/tmpl/color_contexts.sgml, gdk/tmpl/input_contexts.sgml,
        gdk/tmpl/input_methods.sgml: removed, since they described no longer
        existent stuff and aren't included anymore.

22 years agorename gtk_selection_data_set_tree_row, #60218
Jonathan Blandford [Wed, 31 Oct 2001 21:55:55 +0000 (21:55 +0000)]
rename gtk_selection_data_set_tree_row, #60218

Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
gtk_selection_data_set_tree_row, #60218
(gtk_tree_get_row_drag_data): rename
gtk_selection_data_get_tree_row, #60218

* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
get this right, after the third try, #63122.

22 years agothese should be 31, not 3. Hooray for Xatoms (and not using the XA_*
jacob berkman [Wed, 31 Oct 2001 21:52:29 +0000 (21:52 +0000)]
these should be 31, not 3. Hooray for Xatoms (and not using the XA_*

2001-10-31  jacob berkman  <jacob@ximian.com>

* gdk/gdkselection.h (GDK_TARGET_STRING):
(GDK_SELECTION_TYPE_STRING): these should be 31, not 3.  Hooray
for Xatoms (and not using the XA_* macros)!

22 years agoAdd a gtk_window_get_focus() getter to determine the currently focused
Owen Taylor [Wed, 31 Oct 2001 20:41:02 +0000 (20:41 +0000)]
Add a gtk_window_get_focus() getter to determine the currently focused

Wed Oct 31 15:38:14 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a
gtk_window_get_focus() getter to determine the currently
focused widget within the window. (#63145, request
from Damian Ivereigh)

22 years agoAdd GTK_SELECTION_NONE enum, #61695
Jonathan Blandford [Wed, 31 Oct 2001 20:20:12 +0000 (20:20 +0000)]
Add GTK_SELECTION_NONE enum, #61695

Wed Oct 31 14:45:08 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695

* gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new
GTK_SELECTION_NONE enum.
(_gtk_tree_selection_internal_select_node): ditto

* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add
constness.

* gtk/gtkcellrenderertoggle.c: more yummy constness.

* gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail
if mode == GTK_SELECTION_NONE

22 years agoAdded a "cursor_changed" signal, #62850.
Jonathan Blandford [Wed, 31 Oct 2001 19:08:09 +0000 (19:08 +0000)]
Added a "cursor_changed" signal, #62850.

Wed Oct 31 14:05:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_class_init): Added a
"cursor_changed" signal, #62850.

22 years agoafter allocating the treedatalist, zero it to make sure the values are
Matt Wilson [Wed, 31 Oct 2001 18:54:20 +0000 (18:54 +0000)]
after allocating the treedatalist, zero it to make sure the values are

2001-10-31  Matt Wilson  <msw@redhat.com>

* gtk/gtktreedatalist.c (_gtk_tree_data_list_alloc): after
allocating the treedatalist, zero it to make sure the values are
cleared from any garbage that was in this chunk.

22 years agoremove conflict moarker
Matt Wilson [Wed, 31 Oct 2001 18:52:22 +0000 (18:52 +0000)]
remove conflict moarker

22 years agogchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are...
Murray Cumming [Wed, 31 Oct 2001 10:27:17 +0000 (10:27 +0000)]
gchar* args of GtkCellRendererText and GtkCellRendererToggle signal handlers are noe const gchar*.

22 years agomassize rewrite. Static models now totally work. I'm not 100% sure about
Jonathan Blandford [Wed, 31 Oct 2001 00:20:15 +0000 (00:20 +0000)]
massize rewrite. Static models now totally work. I'm not 100% sure about

Tue Oct 30 19:17:57 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
rewrite.  Static models now totally work.  I'm not 100% sure about
row_inserted and row_changed, but I'll get those later.

22 years agoUpdates. (#63293)
Matthias Clasen [Tue, 30 Oct 2001 23:58:00 +0000 (23:58 +0000)]
Updates. (#63293)

        * gdk-pixbuf/gdk-pixbuf-sections.txt,
        gdk-pixbuf/tmpl/animation.sgml,
        gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)

22 years agoshut up CVS
Sven Neumann [Tue, 30 Oct 2001 16:51:39 +0000 (16:51 +0000)]
shut up CVS

22 years agouse GLIB_AC_DIVERT_BEFORE_HELP() so we get proper output for configure
Sven Neumann [Tue, 30 Oct 2001 15:52:09 +0000 (15:52 +0000)]
use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper output for configure

2001-10-30  Sven Neumann  <sven@gimp.org>

* configure.in: use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper
output for configure --help.

22 years agoUpdate the IM spot location here, if text was invalidated in the visible
Havoc Pennington [Tue, 30 Oct 2001 14:15:01 +0000 (14:15 +0000)]
Update the IM spot location here, if text was invalidated in the visible

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

* gtk/gtktextview.c (changed_handler): Update the IM spot location
here, if text was invalidated in the visible area, because the
scroll offset doesn't normally change in that case, and the mark
isn't set, just implicitly moved over as text is added/removed

22 years agoCode cleanup. (gtk_separator_menu_item_class_init): Fix bugs in this code.
Jonathan Blandford [Tue, 30 Oct 2001 00:24:08 +0000 (00:24 +0000)]
Code cleanup. (gtk_separator_menu_item_class_init): Fix bugs in this code.

Mon Oct 29 19:18:35 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtkseparatormenuitem.c: Code cleanup.
(gtk_separator_menu_item_class_init): Fix bugs in this code.

22 years agoautomake doesn't support conditionalized LDFLAGS, so put win32 flags in
jacob berkman [Mon, 29 Oct 2001 21:50:06 +0000 (21:50 +0000)]
automake doesn't support conditionalized LDFLAGS, so put win32 flags in

2001-10-29  jacob berkman  <jacob@ximian.com>

* gdk/Makefile.am (LDFLAGS):
* gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized
LDFLAGS, so put win32 flags in here

22 years agoDarn. I can't believe this took this long to fix.
Jonathan Blandford [Mon, 29 Oct 2001 20:43:01 +0000 (20:43 +0000)]
Darn. I can't believe this took this long to fix.

Mon Oct 29 15:41:58 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn.
I can't believe this took this long to fix.

22 years agofix reordered signal.
Jonathan Blandford [Mon, 29 Oct 2001 18:56:00 +0000 (18:56 +0000)]
fix reordered signal.

Mon Oct 29 13:54:49 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
reordered signal.

22 years agoGrab the focus to the fileop entry for create dir / rename file.
Owen Taylor [Mon, 29 Oct 2001 18:44:15 +0000 (18:44 +0000)]
Grab the focus to the fileop entry for create dir / rename file.

Mon Oct 29 12:27:51 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
the focus to the fileop entry for create dir / rename
file.

22 years agoDon't use AC_CHECK_FILE to check for a file since it always spits warnings
Owen Taylor [Mon, 29 Oct 2001 17:25:40 +0000 (17:25 +0000)]
Don't use AC_CHECK_FILE to check for a file since it always spits warnings

Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Don't use AC_CHECK_FILE to check for a
        file since it always spits warnings about cross compilation,
        use -f instead. It's not like we cross compile properly
        anyways.

        * configure.in (gtktargetlib): Move call to AC_PROG_CC
        to suppress autoconf warning.

        * acconfig.h: Add some missing #undefs from recent
        Win32 additions.

22 years agoDon't try to use pkg-config when we didn't find it. (#62944, Eric Lemings)
Owen Taylor [Mon, 29 Oct 2001 16:51:37 +0000 (16:51 +0000)]
Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings)

Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>

* m4macros/gtk-2.0.m4: Don't try to use pkg-config
when we didn't find it. (#62944, Eric Lemings)

* m4macros/gtk-2.0.m4: Fix problem with spaces around =
sign in assignment. (#63209, Arkadiusz Miskiewicz)

22 years agoCalculate the buttons size request before using it. Fixes #61696.
Anders Carlsson [Mon, 29 Oct 2001 16:48:56 +0000 (16:48 +0000)]
Calculate the buttons size request before using it. Fixes #61696.

2001-10-29  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.

22 years agoUpdates.
Tor Lillqvist [Mon, 29 Oct 2001 07:06:37 +0000 (07:06 +0000)]
Updates.

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

* README.win32: Updates.

* gtk-zip.sh.in: New file, used to build distribution package for
Windows.

* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.

* gtk/gtk.def: Update.

* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().

* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.

* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.

Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:

* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.

* acconfig.h: Add HAVE_WINTAB.

* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.

* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.

22 years agoNew file, hand-written wrapper for the Wintab library.
Tor Lillqvist [Mon, 29 Oct 2001 06:50:55 +0000 (06:50 +0000)]
New file, hand-written wrapper for the Wintab library.

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

* gdk/win32/libwntab32x.la: New file, hand-written wrapper for the
Wintab library.

* gdk/win32/gdkwin32.h
* gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding
X11 headers better, and to enable gdkwin32.h to be installed and
included from applications, but not the *-win32.h headers.

* gdk/win32/*.c: Corresponding small changes, simplifications of
#includes.

* gdk/win32/gdkregion-win32.c: Remove.

* gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING.

* gdk/win32/gdkfont-win32.c
* gdk/win32/gdkgeometry-win32.c: Remove unused variables.

* gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert
GDK_NONE values into hash table.

Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:

* gdk/win32/Makefile.am: Actually enable building the win32
objects here, not just list all files in EXTRA_DIST. Link in the
compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB,
copy the Wintab library into the .libs directory.

* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the
name of the GDK DLL when fetching the icon. Use the HMODULE saved
in gdk_dll_hinstance by DllMain.

* gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the
build/win32/lt-compile-resource script.

* gdk/win32/rc/gdk.rc.in
* gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.

22 years agoUse -no-undefined on Win32. Make libgdk_pixbuf_1_3_la_OBJECTS depend on
Tor Lillqvist [Mon, 29 Oct 2001 06:48:04 +0000 (06:48 +0000)]
Use -no-undefined on Win32. Make libgdk_pixbuf_1_3_la_OBJECTS depend on

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

* Makefile.am: Use -no-undefined on Win32. Make
libgdk_pixbuf_1_3_la_OBJECTS depend on
gdk-pixbuf-marshal.c. Install import libraries.

* gdk_pixbuf.def: Update.

* gdk-pixbuf-io.c: (Win32) Use G_WIN32_DLLMAIN_FOR_DLL_NAME, saves
the actual DLL name of libgdk_pixbuf.
(get_libdir): Use it instead of guessing.

* io-xbm.c (gdk_pixbuf__xbm_image_begin_load): Use
g_file_open_tmp() insread of mkstemp().

22 years agoFix build.
Anders Carlsson [Sun, 28 Oct 2001 23:47:37 +0000 (23:47 +0000)]
Fix build.

2001-10-29  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkiconfactory.c (get_default_icons): Fix build.

22 years agoUpdate struct member docs since they're gdouble now instead of gfloat.
Anders Carlsson [Sun, 28 Oct 2001 22:11:10 +0000 (22:11 +0000)]
Update struct member docs since they're gdouble now instead of gfloat.

2001-10-28  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkadjustment.sgml: Update struct member docs
since they're gdouble now instead of gfloat. Fixes #55699.

22 years agostatic correct-ness, underscore prefixing of library internal functions
Hans Breuer [Sun, 28 Oct 2001 21:28:51 +0000 (21:28 +0000)]
static correct-ness, underscore prefixing of library internal functions

2001-10-28  Hans Breuer  <hans@breuer.org>

* gdk/gdk.c gdk/gdkevents.c
  gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
  gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
  gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
  gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
  gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
  gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
  gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
static correct-ness, underscore prefixing of library internal
functions
(applied the undisputed and the win32 part. Of the latter
 I'm probably the one who will change it back again, if Owen
 decides that the Gdk*Impl types should not be private to Gdk)

* gdk/gdk.def : added the remaining exported functions

22 years agoForgotten file.
Matthias Clasen [Sun, 28 Oct 2001 21:20:25 +0000 (21:20 +0000)]
Forgotten file.

22 years agoDocumentation updates.
Matthias Clasen [Sun, 28 Oct 2001 21:15:36 +0000 (21:15 +0000)]
Documentation updates.

        * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
        gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
        gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.

        * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
        docs/reference/gtk/tmpl/gtkmenu.sgml,
        docs/reference/gtk/tmpl/gtkmenushell.sgml,
        docs/reference/gtk/tmpl/gtkcontainer.sgml,
        docs/reference/gtk/gtk-sections.txt: Updates.

22 years agoRemove note about coordinates in GdkPoint being 16-bit since they're
Anders Carlsson [Sun, 28 Oct 2001 17:54:50 +0000 (17:54 +0000)]
Remove note about coordinates in GdkPoint being 16-bit since they're

2001-10-28  Anders Carlsson  <andersca@gnu.org>

* gdk/tmpl/regions.sgml: Remove note about coordinates in GdkPoint
being 16-bit since they're 32-bit now. Fixes #62681.

22 years agodo not call gtk_settings_get_default() here as that requires an X
jacob berkman [Sun, 28 Oct 2001 16:49:56 +0000 (16:49 +0000)]
do not call gtk_settings_get_default() here as that requires an X

2001-10-28  jacob berkman  <jacob@ximian.com>

* gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
gtk_settings_get_default() here as that requires an X connection
(which breaks doc building with no X connection) and is not
multihead safe
(gtk_color_selection_init): delay palette loading until realize
time
(gtk_color_selection_realize): load the palette, and initialize
the global palette if it hasn't been already

* gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
visual/cmap fields of klass->info since they are gone
(gtk_preview_get_visual): just return gdk_rgb_get_visual ()
(gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
(gtk_preview_realize): don't set VISUAL and COLORMAP attributes

* gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
cmap fields
(gtk_preview_get_visual):
(gtk_preview_get_cmap): mark as deprecated

* docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
changes

22 years agoun Oct 28 09:15:39 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Sun, 28 Oct 2001 14:17:49 +0000 (14:17 +0000)]
un Oct 28 09:15:39 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
        structure to have GObject not GtkObject as
        parent_instance. (Jeff Franks.)

22 years agofile gtk+-zip.sh was initially added on branch gtk-1-3-win32-production.
Tor Lillqvist [Sun, 28 Oct 2001 00:54:12 +0000 (00:54 +0000)]
file gtk+-zip.sh was initially added on branch gtk-1-3-win32-production.

22 years agoTypo fix. Updates. Document the special values <none> and <parent> for
Matthias Clasen [Sat, 27 Oct 2001 20:41:05 +0000 (20:41 +0000)]
Typo fix. Updates. Document the special values <none> and <parent> for

        * gdk/x11/gdkinput.c: Typo fix.
        * gdk/tmpl/input_devices.sgml: Updates.
        * gtk/tmpl/gtkrc.sgml: Document the special values <none> and
        <parent> for bg_pixmap.

22 years agocosmetics
Tim Janik [Sat, 27 Oct 2001 17:49:27 +0000 (17:49 +0000)]
cosmetics

22 years agoCall update_im_spot_location here explicitly
Havoc Pennington [Sat, 27 Oct 2001 02:41:24 +0000 (02:41 +0000)]
Call update_im_spot_location here explicitly

2001-10-26  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_mark_set_handler): Call
update_im_spot_location here explicitly
(gtk_text_view_reset_im_context): don't update the spot location
here

22 years agoClarify that the string argument in gtk_accel_label_new most be non-NULL.
Anders Carlsson [Sat, 27 Oct 2001 01:32:26 +0000 (01:32 +0000)]
Clarify that the string argument in gtk_accel_label_new most be non-NULL.

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkaccellabel.sgml: Clarify that the string
argument in gtk_accel_label_new most be non-NULL.
This fixes #54826.

22 years agoClarify that a maximum length of 0 means infinity. This fixes #58771.
Anders Carlsson [Sat, 27 Oct 2001 01:27:34 +0000 (01:27 +0000)]
Clarify that a maximum length of 0 means infinity. This fixes #58771.

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkentry.sgml: Clarify that a maximum length
of 0 means infinity. This fixes #58771.

22 years agoFix typo in docs. This fixes #62942.
Anders Carlsson [Sat, 27 Oct 2001 01:23:22 +0000 (01:23 +0000)]
Fix typo in docs. This fixes #62942.

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/gtktreemodel.c (gtk_tree_model_get): Fix typo in docs.
This fixes #62942.

22 years agoFinish a sentence. This fixes #56702.
Anders Carlsson [Sat, 27 Oct 2001 01:21:14 +0000 (01:21 +0000)]
Finish a sentence. This fixes #56702.

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkhandlebox.sgml: Finish a sentence.
This fixes #56702.

22 years agoClarify that we're returning a spin button in the _new function. This
Anders Carlsson [Sat, 27 Oct 2001 01:17:38 +0000 (01:17 +0000)]
Clarify that we're returning a spin button in the _new function. This

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range):
Clarify that we're returning a spin button in the _new function.
This fixes #54097.

22 years agoClarify that we're returning a spin button in the _new function. This
Anders Carlsson [Sat, 27 Oct 2001 01:16:09 +0000 (01:16 +0000)]
Clarify that we're returning a spin button in the _new function. This

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtkspinbutton.sgml: Clarify that we're
returning a spin button in the _new function.
This fixes #54097.

22 years agoChange docs for gtk_toolbar_append_item to say that it appends an item to
Anders Carlsson [Sat, 27 Oct 2001 01:03:15 +0000 (01:03 +0000)]
Change docs for gtk_toolbar_append_item to say that it appends an item to

2001-10-27  Anders Carlsson  <andersca@gnu.org>

* gtk/tmpl/gtktoolbar.sgml: Change docs for
gtk_toolbar_append_item to say that it appends an item
to the end of a toolbar. This fixes #60428.

22 years agofix typos in ChangeLog
Owen Taylor [Sat, 27 Oct 2001 01:03:10 +0000 (01:03 +0000)]
fix typos in ChangeLog

22 years agoRemove gtk_tree_view_column_cell_event here too.
Anders Carlsson [Sat, 27 Oct 2001 01:01:09 +0000 (01:01 +0000)]
Remove gtk_tree_view_column_cell_event here too.

22 years ago Oct 26 20:55:57 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Sat, 27 Oct 2001 00:59:51 +0000 (00:59 +0000)]
 Oct 26 20:55:57 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST.
        Unfortunately, people apparently erroneously connect
        to ::clicked for GtkToggleButton and expect
        they know what happened in the default signal handler
        instead of appropriately connecting to notification
        signal ::toggled. When the revolution comes, such
        people will be first against the wall.

        We'll just have to go back to the old less-reliable
        set-it-back hacks for handling model-view toggle
        buttons and entries. :-(.

22 years ago Oct 26 11:54:53 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Sat, 27 Oct 2001 00:54:26 +0000 (00:54 +0000)]
 Oct 26 11:54:53 2001  Owen Taylor  <otaylor@redhat.com>

        * */Makefile.am: Update to install images.