]> Pileus Git - ~andy/gtk/log
~andy/gtk
25 years agochanged reversed_[12] to reserved_[12] in gtk_*_get_type functions.
Tim Janik [Sat, 4 Jul 1998 15:31:30 +0000 (15:31 +0000)]
changed reversed_[12] to reserved_[12] in gtk_*_get_type functions.

Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>

        * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
        functions.

        * gdk/gdkwindow.c:
        * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
        to XFree() calls.

25 years agoAdded GDK_HAVE_FULL_CROSSING_EVENT, since I seem to have erroneously added
Federico Mena Quintero [Fri, 3 Jul 1998 22:39:22 +0000 (22:39 +0000)]
Added GDK_HAVE_FULL_CROSSING_EVENT, since I seem to have erroneously added

1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
I seem to have erroneously added it to gtkfeatures.h (not .h.in).

25 years agoAdded GTK_HAVE_RELIEF_STYLE
Manish Singh [Fri, 3 Jul 1998 21:56:28 +0000 (21:56 +0000)]
Added GTK_HAVE_RELIEF_STYLE

-Yosh

25 years agofile theme2_window.c was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:33:16 +0000 (20:33 +0000)]
file theme2_window.c was initially added on branch themes.

25 years agofile theme2_checkbutton.c was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:33:14 +0000 (20:33 +0000)]
file theme2_checkbutton.c was initially added on branch themes.

25 years agofile d3_n.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:36 +0000 (20:23 +0000)]
file d3_n.png was initially added on branch themes.

25 years agofile d2_n.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:35 +0000 (20:23 +0000)]
file d2_n.png was initially added on branch themes.

25 years agofile d2_h.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:34 +0000 (20:23 +0000)]
file d2_h.png was initially added on branch themes.

25 years agofile d2_d.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:33 +0000 (20:23 +0000)]
file d2_d.png was initially added on branch themes.

25 years agofile d1_n.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:32 +0000 (20:23 +0000)]
file d1_n.png was initially added on branch themes.

25 years agofile d1_h.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:31 +0000 (20:23 +0000)]
file d1_h.png was initially added on branch themes.

25 years agofile d1_d.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:30 +0000 (20:23 +0000)]
file d1_d.png was initially added on branch themes.

25 years agofile b_out.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:29 +0000 (20:23 +0000)]
file b_out.png was initially added on branch themes.

25 years agofile b_in.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:28 +0000 (20:23 +0000)]
file b_in.png was initially added on branch themes.

25 years agofile b_full.png was initially added on branch themes.
Carsten Haitzler [Fri, 3 Jul 1998 20:23:27 +0000 (20:23 +0000)]
file b_full.png was initially added on branch themes.

25 years agotemporary implementation of action signal "debug_msg"
Tim Janik [Wed, 1 Jul 1998 19:36:53 +0000 (19:36 +0000)]
temporary implementation of action signal "debug_msg"

Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"

        * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
        error that prevented signal to entry addition for signals with
        parameters.

25 years agofix for properly detecting shared lib support on SunPro cc (taken from
Manish Singh [Wed, 1 Jul 1998 17:06:47 +0000 (17:06 +0000)]
fix for properly detecting shared lib support on SunPro cc (taken from
libtool 1.2.a)

-Yosh

25 years agoimplementation of the "class" keyword for styles.
Tim Janik [Wed, 1 Jul 1998 01:35:13 +0000 (01:35 +0000)]
implementation of the "class" keyword for styles.

Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkrc.c: implementation of the "class" keyword for styles.

25 years agominor updates.
Tim Janik [Tue, 30 Jun 1998 20:31:00 +0000 (20:31 +0000)]
minor updates.

25 years agofixed lookup order for rc styles. the latest defined rc set pattern is
Tim Janik [Tue, 30 Jun 1998 12:34:36 +0000 (12:34 +0000)]
fixed lookup order for rc styles. the latest defined rc set pattern is

Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
        rc set pattern is favoured, this is needed for overriding of style
        patterns with subsequently parsed rc files.

25 years agocode overhaul for simplicity and more descriptive error messages.
Tim Janik [Tue, 30 Jun 1998 11:05:20 +0000 (11:05 +0000)]
code overhaul for simplicity and more descriptive error messages.

Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
        error messages.

25 years agook, this enables the possibility for key-release bindings.
Tim Janik [Tue, 30 Jun 1998 08:20:45 +0000 (08:20 +0000)]
ok, this enables the possibility for key-release bindings.
but nearly no widget really cares to set GDK_KEY_RELEASE_MASK,
which needs to be enabled in order for release bindings to work.

Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
        modifier as well.
        (gtk_accelerator_name): add "<Release>" to the accelerator name if
        neccessary.

        * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
        account.

        * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
        default handler for key-release events, which checks for activation
        of GDK_RELEASE_MASK key bindings.

        * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.

25 years agoimplemented default handler for key-release events, which checks for
Tim Janik [Tue, 30 Jun 1998 08:02:53 +0000 (08:02 +0000)]
implemented default handler for key-release events, which checks for

Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
        default handler for key-release events, which checks for activation
        of GDK_RELEASE_MASK key bindings.

        * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.

25 years agoGtkType and macro fixups. widget argument implementation:
Tim Janik [Mon, 29 Jun 1998 11:41:46 +0000 (11:41 +0000)]
GtkType and macro fixups. widget argument implementation:

Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkarrow.h: GtkType and macro fixups.
        * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
        "GtkArrow::shadow_type".

25 years agoAdded OBJECT type
Elliot Lee [Mon, 29 Jun 1998 02:12:46 +0000 (02:12 +0000)]
Added OBJECT type

25 years agoGtkType and macro fixups.
Tim Janik [Sun, 28 Jun 1998 10:07:37 +0000 (10:07 +0000)]
GtkType and macro fixups.

Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkalignment.h:
        * gtk/gtkbin.h: GtkType and macro fixups.

        * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
        implementation: GtkAlignment::xalign, GtkAlignment::yalign,
        GtkAlignment::xscale, GtkAlignment::yscale.

25 years agocall the base class init fucntions from all parent types upon class
Tim Janik [Sun, 28 Jun 1998 07:46:10 +0000 (07:46 +0000)]
call the base class init fucntions from all parent types upon class

Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>

* gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
fucntions from all parent types upon class initialization.

* gtk/gtkcontainer.c:
  (gtk_container_get_type): announce gtk_container_base_class_init to
  the type system.
(gtk_container_base_class_init): new function to feature base class
initialization.
(gtk_container_get_child_arg):
(gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
and set_child_arg methods of the class indicated through the argument
name.

* gtk/gtkobject.c:
(gtk_object_base_class_init): new function to feature base class
  initialization.
(gtk_object_init_type): announce gtk_object_base_class_init to the type
system.
(gtk_object_class_init): setup the get_arg and set_arg pointers for
GtkObjectClass.
(gtk_object_setv):
  (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
  instead of bothering the type system with this.

* gtk/gtkaccellabel.c:
* gtk/gtkbutton.c:
* gtk/gtkradiobutton.c:
* gtk/gtktable.c:
* gtk/gtktogglebutton.c:
* gtk/gtktipsquery.c:
* gtk/gtkbox.c:
* gtk/gtkpacker.c:
* gtk/gtkwidget.c:
* gtk/gtkwindow.c:
* gtk/gtkframe.c:
* gtk/gtkmisc.c:
* gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
functions wrt GtkTypeInfo initialization. changed a lot of the set/get
arg functions to take a GtkObject argument.

gtk/gtkadjustment.c:
gtk/gtkalignment.c:
gtk/gtkarrow.c:
gtk/gtkaspectframe.c:
gtk/gtkbbox.c:
gtk/gtkbin.c:
gtk/gtkcheckbutton.c:
gtk/gtkcheckmenuitem.c:
gtk/gtkclist.c:
gtk/gtkcolorsel.c:
gtk/gtkcombo.c:
gtk/gtkctree.c:
gtk/gtkcurve.c:
gtk/gtkdata.c:
gtk/gtkdialog.c:
gtk/gtkdrawingarea.c:
gtk/gtkeditable.c:
gtk/gtkentry.c:
gtk/gtkeventbox.c:
gtk/gtkfilesel.c:
gtk/gtkfixed.c:
gtk/gtkfontsel.c:
gtk/gtkgamma.c:
gtk/gtkhandlebox.c:
gtk/gtkhbbox.c:
gtk/gtkhbox.c:
gtk/gtkhpaned.c:
gtk/gtkhruler.c:
gtk/gtkhscale.c:
gtk/gtkhscrollbar.c:
gtk/gtkhseparator.c:
gtk/gtkimage.c:
gtk/gtkinputdialog.c:
gtk/gtkitem.c:
gtk/gtkitemfactory.c:
gtk/gtklist.c:
gtk/gtklistitem.c:
gtk/gtkmenu.c:
gtk/gtkmenubar.c:
gtk/gtkmenuitem.c:
gtk/gtkmenushell.c:
gtk/gtknotebook.c:
gtk/gtkoptionmenu.c:
gtk/gtkpaned.c:
gtk/gtkpixmap.c:
gtk/gtkpreview.c:
gtk/gtkprogressbar.c:
gtk/gtkradiomenuitem.c:
gtk/gtkrange.c:
gtk/gtkruler.c:
gtk/gtkscale.c:
gtk/gtkscrollbar.c:
gtk/gtkscrolledwindow.c:
gtk/gtkseparator.c:
gtk/gtkspinbutton.c:
gtk/gtkstatusbar.c:
gtk/gtktext.c:
gtk/gtktoolbar.c:
gtk/gtktooltips.c:
gtk/gtktree.c:
gtk/gtktreeitem.c:
gtk/gtkvbbox.c:
gtk/gtkvbox.c:
gtk/gtkviewport.c:
gtk/gtkvpaned.c:
gtk/gtkvruler.c:
gtk/gtkvscale.c:
gtk/gtkvscrollbar.c:
gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
match the modified GtkTypeInfo structure.

25 years agoChangeLog fun
Manish Singh [Sun, 28 Jun 1998 06:25:36 +0000 (06:25 +0000)]
ChangeLog fun

-Yosh

25 years agouse rand() instead of random() for portability
Manish Singh [Sun, 28 Jun 1998 06:24:49 +0000 (06:24 +0000)]
use rand() instead of random() for portability

-Yosh

25 years agouse native Xlib XConvertCase if it's available
Manish Singh [Sun, 28 Jun 1998 05:44:14 +0000 (05:44 +0000)]
use native Xlib XConvertCase if it's available

-Yosh

25 years agocompatibility function to provide XConvertCase() functionality from X11R6
Tim Janik [Sat, 27 Jun 1998 13:51:41 +0000 (13:51 +0000)]
compatibility function to provide XConvertCase() functionality from X11R6

Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
        XConvertCase() functionality from X11R6 on X11R5 systems.

25 years agoAdded functions gdk_text_height, gdk_string_height, gdk_char_height to
Stefan Jeske [Thu, 25 Jun 1998 09:01:42 +0000 (09:01 +0000)]
Added functions gdk_text_height, gdk_string_height, gdk_char_height to

Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>

* gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
  gdk_string_height, gdk_char_height to retrieve the exact
height of a text.

25 years agoadd section on GtkCList widget, contributed by Stefan Mars
BST 1998 Tony Gale [Thu, 25 Jun 1998 08:57:29 +0000 (08:57 +0000)]
add section on GtkCList widget, contributed by Stefan Mars

Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml: add section on GtkCList widget, contributed                                       by Stefan Mars <mars@lysator.liu.se>
        * examples/clist/clist.c examples/clist/Makefile: example code
          for GtkCList widget from the Tutorial

25 years agofix for the compatibility fix
Stefan Jeske [Thu, 25 Jun 1998 07:43:27 +0000 (07:43 +0000)]
fix for the compatibility fix

25 years agodo not avoid to queue for a resize if the container is not visible, we
Tim Janik [Wed, 24 Jun 1998 17:15:05 +0000 (17:15 +0000)]
do not avoid to queue for a resize if the container is not visible, we

Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
        if the container is not visible, we might be a toplevel! this holds
        for all other base container implementations as well, that are
        candidates to derive toplevels from. in general the resizing code will
        care about visibility itself.
        * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
        * gtk/gtkbox.c (gtk_box_remove): likewise.

        * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
        gtk_window_set_hints(), since we haven't calculated the new position
        yet.

        * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
        *mask are alway initialized in a sane way, regardless of the return
        value.

25 years agochangelog entry
Tim Janik [Wed, 24 Jun 1998 12:24:20 +0000 (12:24 +0000)]
changelog entry

25 years agonew function gtk_container_child_arg_set, similar to
Tim Janik [Wed, 24 Jun 1998 12:22:23 +0000 (12:22 +0000)]
new function gtk_container_child_arg_set, similar to

Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
        to gtk_container_child_arg_setv, but takes a variable argument list.
        new function gtk_container_get_child_arg_type, which is needed by
        gtk_object_collect_args.

        * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
        take a function pointer to figure the argument type.
        adapted callers to pass gtk_object_get_arg_type.
        * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
        gtk_object_get_arg_type..

        * gtk/gtkpacker.h:
        * gtk/gtkpacker.c:
        (gtk_packer_reorder_child): new function to change the packing order
        of a child.
        (gtk_packer_size_request):
        (gtk_packer_size_allocate): take container->border_width into acount.

        * gtk/gtkpacker.c: implemented widget arguments:
        "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
        "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
        implemented child arguments:
        "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
        "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
        "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
        "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".

        * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
        not the alignment.

        * gtk/gtkeventbox.h:
        * gtk/gtkeventbox.c: GtkType and macro fixups.

        * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
        sensitivity of an entry.

        * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
        for insensitive base.

        * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
        widget state dependent.
        (gtk_entry_style_set): likewise.
        (gtk_entry_state_changed): set background color on state changes.
        (gtk_entry_draw_text): for non selected text, use state dependent
        colors.

        * gtk/gtktogglebutton.c: support for widget arguments
        "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".

25 years agoAdded compatibility code for 1.0.x-like parameters. Changed internal
Stefan Jeske [Wed, 24 Jun 1998 07:59:05 +0000 (07:59 +0000)]
Added compatibility code for 1.0.x-like parameters. Changed internal

* gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility
code for 1.0.x-like parameters. Changed internal interface of
gtk_spin_button_real_spin. Several fixes to avoid emission of
"value_changed" where possible.

25 years agoadded a frame with radio buttons to select the resize_mode for the
Tim Janik [Wed, 24 Jun 1998 06:25:14 +0000 (06:25 +0000)]
added a frame with radio buttons to select the resize_mode for the

Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>

        * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
        to select the resize_mode for the idle-labels container.

        * gtk/gtkframe.h:
        * gtk/gtkframe.c: GtkType and macro corrections.

        * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
        support radio grouping.

Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
        unconditionally if resize_mode has changed.

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
        GTK_RESIZE_QUEUE on the scrolled window.
        (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.

Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.h:
        * gtk/gtkcontainer.c:
        (GTK_IS_RESIZE_CONTAINER): new macro to find out if
        a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
        (gtk_container_queue_resize): new function to queue a container for
        a *size* reallocation (doesn't affect its position, and thus its
        parent is left untouched usually).
        (gtk_container_get_resize_container): new function to retrive the next
        most resize container which is not itself queued for a resize.
        (gtk_container_idle_sizer): new function to carefully process the
        container_resize_queue since it can change during invokation of
        gtk_container_check_resize().
        (gtk_container_resize_children): total rework of this function to
        properly handle resize containers. makes a lot of assumptions whitch
        are stated in the comments.

        * gtk/gtkcontainer.c:
        (gtk_container_real_check_resize): only requeue ourselves if we are not
        a resize container.
        (gtk_container_clear_resize_widgets): care for automatic deletion of our
        resize_widgets list on size_allocate through a handler connection.

        * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
        focus and default widget of a window, so to take the burden from
        gtk_widget_unparent.

        * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
        to be clever, but actually messed up the resize_children logic and
        caused unneccessary allocations on its whole branch. besides this,
        it messed up the display by not invoking a redraw after the allocation.

        * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
        that it is the child again that is queued for a resize.
        (gtk_table_attach): likewise.
        (gtk_table_remove): likewise.

25 years agos/GkWidget/GtkWidget/
Manish Singh [Wed, 24 Jun 1998 05:23:19 +0000 (05:23 +0000)]
s/GkWidget/GtkWidget/

-Yosh

26 years agoExport the gtk_entry_adjust_scroll. Required if you change the cursor
Miguel de Icaza [Tue, 23 Jun 1998 15:55:51 +0000 (15:55 +0000)]
Export the gtk_entry_adjust_scroll. Required if you change the cursor

1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

        * gtk/gtkentry.h, gtk/gtkentry.c: Export the
        gtk_entry_adjust_scroll.  Required if you change the cursor
        position and want to sync it up with your code (Midnight Commander
        gtk front end needs this).

        * gtk/gtktable.c: Deal with tables that have size 0, 0.

26 years agonew file to explain how the code examples should be extracted from the
BST 1998 Tony Gale [Tue, 23 Jun 1998 11:15:20 +0000 (11:15 +0000)]
new file to explain how the code examples should be extracted from the

Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>

        * examples/README.1ST: new file to explain how the
          code examples should be extracted from the tutorial.

26 years agoRestore lost/hidden ChangeLog entry.
Raja R Harinath [Mon, 22 Jun 1998 22:27:23 +0000 (22:27 +0000)]
Restore lost/hidden ChangeLog entry.

26 years agonew CTree line style GTK_CTREE_LINES_TABBED
Lars Hamann [Mon, 22 Jun 1998 17:00:21 +0000 (17:00 +0000)]
new CTree line style GTK_CTREE_LINES_TABBED

26 years agoRemove $(srcdir) from, and clean up, the dependencies. Generate to
Raja R Harinath [Sun, 21 Jun 1998 22:03:58 +0000 (22:03 +0000)]
Remove $(srcdir) from, and clean up, the dependencies. Generate to

1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>

* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
from, and clean up, the dependencies.  Generate to intermediate
files to prevent problems with Ctrl-C.

* gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.

Also commit readable/indented gtkmarshal.[ch].

26 years agoremoved extra comma at end of enum
Seth Alves [Sat, 20 Jun 1998 19:59:39 +0000 (19:59 +0000)]
removed extra comma at end of enum

26 years ago- Bug fix for precision problem causing occasional double emission of
Stefan Jeske [Fri, 19 Jun 1998 17:33:51 +0000 (17:33 +0000)]
- Bug fix for precision problem causing occasional double emission of

* gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
        - Bug fix for precision problem causing occasional double emission
  of "value_changed" signal (hopefully works now).
        - API change (should be binary compatible) :
  new enum GtkSpinType; modified gtk_spin_button_spin to use it.
  Modified cursor example appropriately.
  To spin by something other than step_/page_increment, use
  gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
- Made GTK_SHADOW_NONE the default. ;)
- Fixed casting of GtkAdjustment* to GtkWidget* in
  gtk_spin_button_value_changed.

26 years agofail silently for toplevels. if resize_mode changes to GTK_RESIZE_PARENT,
Tim Janik [Fri, 19 Jun 1998 06:56:15 +0000 (06:56 +0000)]
fail silently for toplevels. if resize_mode changes to GTK_RESIZE_PARENT,

Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
        for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
        resize widget list before queuing the container for a new reize.
        (gtk_container_need_resize): changed return value to FALSE, since this
        used to indicate that no further resizes are needed.
        (gtk_container_set_arg):
        (gtk_container_get_arg):
        (gtk_container_class_init): implemented GtkContainer::resize_mode
        argument.

        (gtk_container_resize_children): when we walk up the tree of a resize
        widget we need to stop if we are the current parent.

        * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
        GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
        (gtk_widget_hide_all): retrive the toplevel widget from via
        gtk_widget_get_resize_container().

26 years agoOnly respond to selection with button 1. This allows context-sensitive
Owen Taylor [Fri, 19 Jun 1998 03:12:19 +0000 (03:12 +0000)]
Only respond to selection with button 1. This allows context-sensitive

Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtklist.c (gtk_list_button_press): Only respond
  to selection with button 1. This allows context-sensitive
  menus to work correctly.

26 years agoreplaced some gtk_object_data_force_id with g_quark_from_static_string
Tim Janik [Fri, 19 Jun 1998 02:07:47 +0000 (02:07 +0000)]
replaced some gtk_object_data_force_id with g_quark_from_static_string

Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccelgroup.c:
        * gtk/gtkbindings.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkitemfactory.c:
        * gtk/gtkobject.c:
        * gtk/gtksignal.c:
        * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
        g_quark_from_static_string calls to save memory.

        * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
        function _after_ the new data has been setup.
        minor changes to object data functions to feature the GQuark type.

26 years agoRemove --g-fatal-warnings flag from argv.
Owen Taylor [Fri, 19 Jun 1998 01:26:24 +0000 (01:26 +0000)]
Remove --g-fatal-warnings flag from argv.

Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
  from argv.

Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/genmarshal.pl: Modified to be more idiomatic Perl,
  to be more readable perl, to spit out stuff that looks
  more like readable C, and to pipe output through indent
  so output looks a lot like readable C. No functional
  changes.

Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
  necessary when switching to a masked pixmap. (Based on a patch
  from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)

Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkeditable.[ch]: Added action signals for keyboard
      bindings. (move_cursor, kill_word, etc, etc, etc).

          removed the time argument from
  gtk_editable_cut/copy/paste_clipboard (source but not
          binary incompatible...) Instead get time from
  gtk_get_current_event ().

* gtk/gtktext.c gtk/gtkentry.c: Support the new editable
  signals.

Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>

Patches from Damon Chaplin <DAChaplin@email.msn.com>:

        gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
     parent class to GtkNotebookClass when splitting the widget in
     two.  Also updated some comments.

        gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
               button without a font selected.

             Fixed bug in set_font_name - I hadn't updated the code to
               search for the style in the font_style clist - it was
               still assuming the style row was equal to its index,
               but it isn't any more.

             Changed 'Reset' button on filter page to 'Clear Filter'.
             Deleted old code relating to the old 'Filter Fonts' toggle
             Updated some comments.
             Cleared 'Actual Fontname' if no font is set.

        gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
     destroying the GtkFontSelection instead of the
             GtkFontSelectionDialog.

Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
  flag to make all warnings fatal errors.

* gtk/testthreads.c: moved <pthreads.h> include inside
  #ifdef USE_PTHREADS

Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c
  gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:

- Added new function gtk_container_set_resize_mode() for
  fine-grained control of where resize-queueing is done.

- Removed GtkContainer::need_resize and GtkWindow::move_resize
- Added GtkContainer::check_resize to replace need_resize.

- Added function gtk_container_check_resize() to trigger
  queued resizes, and gtk_container_resize_children() to
  Figure which children need to be size-allocated. (logic
  moved from gtkwindow.c)

- Reorganized code in gtkwindow.c

- Set the resize-mode for viewports so that resizes within
  a viewport don't propagate out of it.

26 years agoUse pointer<->int conversion macros to avoid warnings.
Federico Mena Quintero [Thu, 18 Jun 1998 22:32:36 +0000 (22:32 +0000)]
Use pointer<->int conversion macros to avoid warnings.

1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.

* gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
g_return_val_if_fail, because the function *does* return a value.

26 years agoyeppers, accelerator changes to fix the gimp. commit message dedicated to
Tim Janik [Thu, 18 Jun 1998 03:22:09 +0000 (03:22 +0000)]
yeppers, accelerator changes to fix the gimp. commit message dedicated to

yeppers, accelerator changes to fix the gimp.
commit message dedicated to sopwith ;)

Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccellabel.h:
        * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
        request the size of the accelerator portion of an accel label.
        (gtk_accel_label_size_request): don't request for the accelerators size.
        (gtk_accel_label_expose_event): only draw the accelerator if we got
        enough extra space.

        * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
        width from children.

        * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
        object (after removal has been requested) check if there is still an
        accelerator remaining to avoid adding two accelerators on an object.
        this can happen for locked accelerators (or accelerator-frozen widgets).
        (gtk_menu_size_request): feature childrens accelerator width in size
        requests.

        * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
        gtk_widget_freeze_accelerators() for dynamically created menu items.

        * gtk/gtksignal.h:
        * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
        which will return a handler_id > 0 if the specified function is pending
        for `signal_id'.

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
        a signal handler function to stop accelerator addition.
        added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
        which will prevent (undo) any accelerators from being added to or
        removed from a widget.

26 years ago*** empty log message ***
Stefan Jeske [Wed, 17 Jun 1998 20:09:43 +0000 (20:09 +0000)]
*** empty log message ***

26 years agoChanged GtkSpinButtonUpdatePolicy enum, added keyboard
Stefan Jeske [Wed, 17 Jun 1998 20:07:31 +0000 (20:07 +0000)]
Changed GtkSpinButtonUpdatePolicy enum, added keyboard
acceleration, new API gtk_spin_button_set_snap_to_ticks.

26 years agonew function gdk_window_at_pointer() to retrive the current GdkWindow the
Tim Janik [Wed, 17 Jun 1998 08:48:22 +0000 (08:48 +0000)]
new function gdk_window_at_pointer() to retrive the current GdkWindow the

Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.h:
        * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
        the current GdkWindow the pointer is on if there is any.

        * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
        and one column, so we don't construction logic at all. changed a few
        (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
        unsigned int wraps.

        * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
        portion, added an additional check for parent != widget.

        * more GtkType and macro fixups.

26 years agoFixed functions with no arguments
Elliot Lee [Wed, 17 Jun 1998 05:12:27 +0000 (05:12 +0000)]
Fixed functions with no arguments

26 years agoNow accepts an extra "clip" parameter, which is the clipping rectangle to
Federico Mena Quintero [Wed, 17 Jun 1998 03:34:22 +0000 (03:34 +0000)]
Now accepts an extra "clip" parameter, which is the clipping rectangle to

1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
"clip" parameter, which is the clipping rectangle to use.  This
eliminates the extremely annoying flicker when exposing parts of
the handlebox.

26 years agofix from TimJ for off-by-one error in table resizing
Manish Singh [Tue, 16 Jun 1998 21:09:24 +0000 (21:09 +0000)]
fix from TimJ for off-by-one error in table resizing

-Yosh

26 years agoTODO
Stefan Jeske [Tue, 16 Jun 1998 07:39:06 +0000 (07:39 +0000)]
TODO

26 years agoboy! did i really modify that many files?
Tim Janik [Tue, 16 Jun 1998 05:20:05 +0000 (05:20 +0000)]
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;)
you wouldn't want me to put the ChangeLog entry in here, would you?

26 years agoMoved font lists from the klass structure to a static structure in
Owen Taylor [Tue, 16 Jun 1998 03:40:04 +0000 (03:40 +0000)]
Moved font lists from the klass structure to a static structure in

Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
lists from the klass structure to a static structure
in gtkfontsel.c; cleans up global the namespace.

Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/makeenums.pl (parse_entries): Fix (untriggered)
bug with /*< skip >*/ and remove warning.

26 years agoAdded maintainer-rule autogened files
Manish Singh [Tue, 16 Jun 1998 01:17:43 +0000 (01:17 +0000)]
Added maintainer-rule autogened files

-Yosh

26 years agoMade the gtkmarshal.* generation rules maintainer-only.
Owen Taylor [Tue, 16 Jun 1998 00:13:04 +0000 (00:13 +0000)]
Made the gtkmarshal.* generation rules maintainer-only.

Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/Makefile.am: Made the gtkmarshal.* generation
rules maintainer-only.

Really add makeenums.pl (this is getting to be a bad habit)

26 years agoActually add in the files...
Owen Taylor [Mon, 15 Jun 1998 23:29:27 +0000 (23:29 +0000)]
Actually add in the files...

26 years agogdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl
Owen Taylor [Mon, 15 Jun 1998 21:27:17 +0000 (21:27 +0000)]
gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h gtk/Makefile.am gtk/makenums.pl

Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
  gtk/Makefile.am gtk/makenums.pl

Removed out the G_ENUM/FLAGS mechanism in favor
of a perl script that parses the standard headers
(with occasional /*< nick=foo >*/ style overrides)
and extracts the enumerations.

  gtk/maketypes.awk: Small improvments to the
  translation of names. (Avoid splitting gc into
  g_c_.)

Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/Makefile.am gtk/gtk.h gtk/gtkfontsel.[ch] gtk/testgtk.c:
Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget,
        and a simple example for testgtk.

Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkentry.c:
- Restored gtk_entry_adjust_scroll to static
- Changed text positioning code so that we always
  display as large a portion of the text as possible.

Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (gtk_text_finalize): Free internal
structures of text widget. Also, unreference pixmaps
when unrealizing.

Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdkinputcommon.h (gdk_input_device_new): Change
3.3.1 bug workaround to number keys starting at 1.

Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>

* docs/gtk_tut.sgml: Fixed urls for complete example
source for scribble+widget-writing examples.

26 years agoRedo (and complete) movement of all pointer types into pointer_data in the GtkArg...
Elliot Lee [Sun, 14 Jun 1998 16:59:42 +0000 (16:59 +0000)]
Redo (and complete) movement of all pointer types into pointer_data in the GtkArg union

26 years agoReformat two function prototypes for cosmetics
Elliot Lee [Sun, 14 Jun 1998 16:50:48 +0000 (16:50 +0000)]
Reformat two function prototypes for cosmetics

26 years agoreverting changes that depend on other code which i'm going to
Tim Janik [Sun, 14 Jun 1998 15:02:05 +0000 (15:02 +0000)]
reverting changes that depend on other code which i'm going to
commit later this night (so gtk at least compiles for people).

26 years agoheal gtk. ;)
Tim Janik [Sun, 14 Jun 1998 14:37:39 +0000 (14:37 +0000)]
heal gtk. ;)

26 years agos/string_data/pointer_data/ as needed to match GtkArg
Elliot Lee [Sun, 14 Jun 1998 07:58:02 +0000 (07:58 +0000)]
s/string_data/pointer_data/ as needed to match GtkArg

s/string_data/pointer_data/ as needed to match GtkArg

26 years agoPatch from Tom Bech <tomb@ii.uib.no>, to handle color specs of the form c
Owen Taylor [Sat, 13 Jun 1998 15:51:34 +0000 (15:51 +0000)]
Patch from Tom Bech <tomb@ii.uib.no>, to handle color specs of the form c

Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>

* gdk/gdkpixmap.c (gdk_pixmap_extract_color):
Patch from Tom Bech <tomb@ii.uib.no>, to handle color
specs of the form c #abcdef [ more keys ] properly.

26 years ago*** empty log message ***
Stefan Jeske [Sat, 13 Jun 1998 09:02:05 +0000 (09:02 +0000)]
*** empty log message ***

26 years agoNew API to set the shadow type of the arrow panel.
Stefan Jeske [Sat, 13 Jun 1998 08:56:27 +0000 (08:56 +0000)]
New API to set the shadow type of the arrow panel.

26 years agoRemoved code for drawing the child in two places at once. Unfortunately,
Owen Taylor [Sat, 13 Jun 1998 01:36:28 +0000 (01:36 +0000)]
Removed code for drawing the child in two places at once. Unfortunately,

Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
code for drawing the child in two places at once. Unfortunately,
not only does it not work anymore (because reparenting has
been fixed), but it also triggers reparent/expose loops
in some cases.

* gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
an unecessary unrealize.

26 years agorenamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be
Tim Janik [Fri, 12 Jun 1998 08:10:29 +0000 (08:10 +0000)]
renamed enum GtkAnchor and GtkSide to GtkAnchorType and GtkSideType, to be

Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkpacker.h:
        * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
        and GtkSideType, to be consistent with the rest of Gtk's enum
        definitions. wrapped the enum definitions with the G_ eunm wrappers.
        spelled out the GTK_ANCHOR_* enum values, since single letters don't
        work out corectly as nick-names (left the old values as aliases).
        some signdness corrections (border-width, spacing), could stand more.

26 years agoAdded gtkpacker
CDT 1998 Shawn T. Amundson [Fri, 12 Jun 1998 00:49:11 +0000 (00:49 +0000)]
Added gtkpacker

Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>

        * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
          Added gtkpacker

        * examples/packer/pack.c, examples/packer/Makefile: Added
          gtkpacker example

26 years agoRemoved glib, since it's in its own module now.
Dick Porter [Thu, 11 Jun 1998 20:00:42 +0000 (20:00 +0000)]
Removed glib, since it's in its own module now.

26 years agoFixed broken list-removal code.
Owen Taylor [Thu, 11 Jun 1998 17:52:12 +0000 (17:52 +0000)]
Fixed broken list-removal code.

Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (remove_cache_line): Fixed broken
list-removal code.

* gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
Check bounds before deleting.

26 years agoSupport ACLOCAL_FLAGS
Owen Taylor [Thu, 11 Jun 1998 03:19:39 +0000 (03:19 +0000)]
Support ACLOCAL_FLAGS

Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>

* autogen.sh: Support ACLOCAL_FLAGS

26 years ago#define GTK_HAVE_ACCEL_GROUP
Manish Singh [Thu, 11 Jun 1998 01:45:22 +0000 (01:45 +0000)]
#define GTK_HAVE_ACCEL_GROUP

-Yosh

26 years agoAdded missing quotes.
Owen Taylor [Thu, 11 Jun 1998 00:52:24 +0000 (00:52 +0000)]
Added missing quotes.

Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>

* gtk-config.in: Added missing quotes.

26 years agoRenamed from G_COMPILED_WITH_DEBUGGING.
Raja R Harinath [Thu, 11 Jun 1998 00:27:08 +0000 (00:27 +0000)]
Renamed from G_COMPILED_WITH_DEBUGGING.

* acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
G_COMPILED_WITH_DEBUGGING.

26 years agoExplain check better.
Raja R Harinath [Thu, 11 Jun 1998 00:12:59 +0000 (00:12 +0000)]
Explain check better.

* configure.in (fd_set): Explain check better.

* acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
the version from which gtk+'s libtool forked.  Needed for people
who use post-1.2 alphas of libtool.

26 years agoRemove last remaining file
Raja R Harinath [Wed, 10 Jun 1998 23:52:31 +0000 (23:52 +0000)]
Remove last remaining file

26 years agoglib/* Moved to glib module
Owen Taylor [Wed, 10 Jun 1998 23:44:55 +0000 (23:44 +0000)]
glib/* Moved to glib module

Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>

* glib/* Moved to glib module

* INSTALL Makefile.am acconfig.h autogen.sh configure.in
  gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am

  configuration changes for the above:

  - Use AM_PATH_GLIB by default to find glib; also accept
    a --with-glib option for using an uninstalled glib.

  - Put --enable-debug information into config.h so
    that we rebuild when it changes. (was in glibconfig.h)

26 years agoadapted clist pixmap clipping
Lars Hamann [Wed, 10 Jun 1998 21:48:21 +0000 (21:48 +0000)]
adapted clist pixmap clipping

        * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping

        * gtk/gtknotebook.h (struct _GtkNotebookClass):
        * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
        added missing argument (according to Joseph Coleman's bug report)

        * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
        function to fix notebook focus handling

26 years agoRenamed g_const_pointer => gconstpointer.
Owen Taylor [Wed, 10 Jun 1998 16:59:28 +0000 (16:59 +0000)]
Renamed g_const_pointer => gconstpointer.

26 years agoprevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this
Tim Janik [Wed, 10 Jun 1998 07:32:52 +0000 (07:32 +0000)]
prevent gdk_init() from segfaulting when invoked with (NULL, NULL); (this

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

        * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
        invoked with (NULL, NULL); (this worked sometime ago).

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: enum and flags type creation can now be done
        through gtk_type_register_enum() and gtk_type_register_flags(),
        which allow to specify the enum value arrays directly.
        the NULL terminated value arrays can be retrived through
        gtk_type_enum_get_values() and gtk_type_flags_get_values();
        (gtk_type_children_types): new function to query derived types.

26 years agoenum and flags type creation can now be done through
Tim Janik [Wed, 10 Jun 1998 04:55:22 +0000 (04:55 +0000)]
enum and flags type creation can now be done through

Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: enum and flags type creation can now be done
        through gtk_type_register_enum() and gtk_type_register_flags(),
        which allow to specify the enum value arrays directly.
        the NULL terminated value arrays can be retrived through
        gtk_type_enum_get_values() and gtk_type_flags_get_values();

26 years agoThinko... The ChangeLog entry still stands.
Raja R Harinath [Wed, 10 Jun 1998 02:15:50 +0000 (02:15 +0000)]
Thinko...  The ChangeLog entry still stands.

26 years agoAdd $(srcdir) where needed (in the rule), and removed it where not needed
Raja R Harinath [Wed, 10 Jun 1998 02:10:23 +0000 (02:10 +0000)]
Add $(srcdir) where needed (in the rule), and removed it where not needed

1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>

* gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Add $(srcdir)
where needed (in the rule), and removed it where not needed
(in the dependencies).

26 years agoPass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list'
Raja R Harinath [Wed, 10 Jun 1998 01:04:46 +0000 (01:04 +0000)]
Pass $srcdir in environment to genmarshal.pl. Look for `gtkmarshal.list'

1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>

* gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
environment to genmarshal.pl.
* gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.

26 years agomore const pointer corrections.
Tim Janik [Wed, 10 Jun 1998 00:54:54 +0000 (00:54 +0000)]
more const pointer corrections.

26 years agoRemoved g_object_pointer_hash, which was just g_direct_hash.
Owen Taylor [Tue, 9 Jun 1998 23:18:11 +0000 (23:18 +0000)]
Removed g_object_pointer_hash, which was just g_direct_hash.

Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkobject.c: Removed g_object_pointer_hash, which
was just g_direct_hash.

Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in: x_libs=, not $x_libs=. Enough said.
          (Case only hit for --disable-xshm)

Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
  when testing for X libraries, don't replace them. Because
  the user might have specified the path to the X libraries
  themself before running configure.

* examples/**.c: Changed all gpointer * to gpointer

Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>

* configure.in (LDFLAGS): Bomb out with a moderately
  helpful message if detection of X libraries fails.

Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>

  [ Combination of:
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]

* gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
  gtk/gtksignal.c gtk/gtktext.c:

  Fixups for warnings from adding const to type of GHashFunc,
  GCompareFunc

* gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
  ansi-warnings fixups.

Tue Jun  9 17:47:33 1998  Owen Taylor  <otaylor@gtk.org>

* glib.h: Remove #error - HP/UX.

Sat May 23 19:00:01 1998  Owen Taylor  <otaylor@gtk.org>
  [ Combination of:
     gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
     gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]

* glib.h ghash.c gstring.c gdataset.c gutils.c:
- Added new typedef g_const_pointer; expunged all incorrect
  uses of 'const gpointer'.
- Fixed up warnings that that created,
- Changed GHashFunc and GCompareFunc to take g_const_pointer
  arguments. (Necessary, but will cause warnings in existing
  code until fixed)
- Added other new const in harmless positions.

26 years agoRemoved the fleur_cursor field. Now the cursor is created/destroyed on
Federico Mena Quintero [Tue, 9 Jun 1998 21:01:45 +0000 (21:01 +0000)]
Removed the fleur_cursor field. Now the cursor is created/destroyed on

1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
fleur_cursor field.  Now the cursor is created/destroyed on demand
by the routines that need it.

* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
(gtk_handle_box_motion): The fleur cursor is created and destroyed
only when needed.

26 years agoFix for people using name mangling
Elliot Lee [Tue, 9 Jun 1998 20:16:12 +0000 (20:16 +0000)]
Fix for people using name mangling

26 years agoJust a convenience to parallel gtk-config
Elliot Lee [Tue, 9 Jun 1998 20:10:48 +0000 (20:10 +0000)]
Just a convenience to parallel gtk-config

Just a convenience to parallel gtk-config

26 years agoWarning cleanups.. cvsignore stuff
Manish Singh [Tue, 9 Jun 1998 10:33:56 +0000 (10:33 +0000)]
Warning cleanups.. cvsignore stuff

-Yosh

26 years agorenamed the newly created gtk_enum_get_values and gtk_enum_set_values to
Tim Janik [Tue, 9 Jun 1998 08:21:20 +0000 (08:21 +0000)]
renamed the newly created gtk_enum_get_values and gtk_enum_set_values to

Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.h:
        * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
        gtk_enum_set_values to gtk_type_enum_get_values and
        gtk_type_enum_set_values respectively, since they are actually type
        system features.

        * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
        my last commit. ;)