]> Pileus Git - ~andy/gtk/log
~andy/gtk
26 years agoReverted garray change, and fixed the g_rarray_truncate bug with length.
Manish Singh [Thu, 19 Mar 1998 07:17:10 +0000 (07:17 +0000)]
Reverted garray change, and fixed the g_rarray_truncate bug with length.
Can we be one big happy g* family now? :)

-Yosh

26 years agorevert stupid part of revert, doh doh doh
Elliot Lee [Thu, 19 Mar 1998 03:46:02 +0000 (03:46 +0000)]
revert stupid part of revert, doh doh doh

26 years agorevert gboolean change until we work out the details of exactly why it needs to be...
Elliot Lee [Thu, 19 Mar 1998 03:28:37 +0000 (03:28 +0000)]
revert gboolean change until we work out the details of exactly why it needs to be an int

26 years ago#define M_PI if it isn't already initialize transparent properly, to make
Manish Singh [Thu, 19 Mar 1998 01:07:48 +0000 (01:07 +0000)]
#define M_PI if it isn't already initialize transparent properly, to make

* gtk/gtkcolorsel.c: #define M_PI if it isn't already
* gtk/testgtk.c: initialize transparent properly, to make purify happy

-Yosh

26 years agoperform the neccessary checks on funtion begin. use the scrolled_window
Tim Janik [Wed, 18 Mar 1998 23:49:36 +0000 (23:49 +0000)]
perform the neccessary checks on funtion begin. use the scrolled_window

Thu Mar 19 00:37:44 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
                neccessary checks on funtion begin. use the scrolled_window that got
                        passed to this function, and not a new one.

26 years ago( From: James Henstridge <james@daa.com.au> )
Owen Taylor [Wed, 18 Mar 1998 21:11:04 +0000 (21:11 +0000)]
( From: James Henstridge <james@daa.com.au> )

Wed Mar 18 11:09:10 1998  Owen Taylor  <owt1@cornell.edu>
( From: James Henstridge <james@daa.com.au> )

* gtk/gtkclist.c: Don't remove, then destroy labels in
  gtk_clist_set_column_[*], just remove them.

* gtk/gtkmain.c (gtk_invoke_timeout_function): call
  marshal when appropriate, not function.

Tue Mar 17 14:15:07 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/testgtk.c (create_main_window): Alphabetize tests

* gtk/gtk[hv]paned.c: Change division on resize if
  necessary to keep handle visible.

* gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into
  _init() functions.

* gtk/gtkscrolledwindow.c: Added missing _construct()
  functions.

26 years agochecked in gtk_entry_set_max_length (it truncates the texts if it's
CET 1998 Paolo Molaro [Wed, 18 Mar 1998 15:41:03 +0000 (15:41 +0000)]
checked in gtk_entry_set_max_length (it truncates the texts if it's

Wed Mar 18 17:38:25 CET 1998 Paolo Molaro <lupus@debian.org>

* gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length
(it truncates the texts if it's longer, now)

26 years agouse the resize queue.
Tim Janik [Wed, 18 Mar 1998 02:05:27 +0000 (02:05 +0000)]
use the resize queue.

Wed Mar 18 02:06:52 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.

                * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
                        setting certain arguments, so they actually take affect.
                                (gtk_window_set_policy): likewise.

26 years agoRewrite of GArray gboolean type changed to int
Manish Singh [Wed, 18 Mar 1998 00:08:31 +0000 (00:08 +0000)]
Rewrite of GArray gboolean type changed to int

Rewrite of GArray
gboolean type changed to int

-Yosh

26 years agotest if clist->title_window exists before showing it,
Radek Doulik [Tue, 17 Mar 1998 23:21:17 +0000 (23:21 +0000)]
test if clist->title_window exists before showing it,

Wed Mar 18 01:07:11 1998  Radek Doulik  <rodo@aquarius>

* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed

26 years agoreturn real boolean values not just numbers.
Tim Janik [Tue, 17 Mar 1998 23:07:30 +0000 (23:07 +0000)]
return real boolean values not just numbers.

Tue Mar 17 22:45:39 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_get_arg): return real boolean values
                not just numbers.

                        * gtk/gtktogglebutton.c (gtk_toggle_button_set_state): check
                                state for != 0, otherwise we get strange results.

26 years agoDoh. commit caught this accidentally. Can we put these #defines into a .h file that...
Elliot Lee [Tue, 17 Mar 1998 21:13:22 +0000 (21:13 +0000)]
Doh. commit caught this accidentally. Can we put these #defines into a .h file that isnt in CVS so people can test things without killing the world? :)

26 years agoMake Gtk compile: Fix GTK_NOTE definition for no debugging, and make gtk_use_mb defin...
Elliot Lee [Tue, 17 Mar 1998 19:55:33 +0000 (19:55 +0000)]
Make Gtk compile: Fix GTK_NOTE definition for no debugging, and make gtk_use_mb defined whether or not debugging is enabled

26 years agoTry to guess if we can use the mb* functions safely. (For glibc, they do
Owen Taylor [Tue, 17 Mar 1998 19:03:52 +0000 (19:03 +0000)]
Try to guess if we can use the mb* functions safely. (For glibc, they do

Tue Mar 17 01:55:00 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can
  use the mb* functions safely. (For glibc, they do
  UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX)
  || (mblen("\xc0", MB_CUR_MAX) == 1).

(From: "Richard Lloyd" <rkl@csc.liv.ac.uk>)

* gdk/gdk.c (gdk_ic_get_attr): Use an intermediate
  variable to avoid taking the address of the result
  of va_arg.

* gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c
  gtk/testselection.c: signedness fixups

* gtk/gtkcontainer.c: Fixed implicit cast between
  gpointer and func pointer by changing.

* gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c:
  static void forward declaration vs. void actual fixed

* gtk/testgtk.c: Limit total number of tree items to 10,000

26 years agochanged some debugging messages to be prefixed by "Gdk:".
Tim Janik [Tue, 17 Mar 1998 18:29:07 +0000 (18:29 +0000)]
changed some debugging messages to be prefixed by "Gdk:".

Tue Mar 17 16:19:47 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdk.c:
                * gdk/gdkvisual.c: changed some debugging messages to be prefixed
                        by "Gdk:".

                                * gtk/gtkwidget.c (gtk_widget_real_draw): applied
                                        gtk-shige-980317-0.patch.gz to set all event fields, but modified
                                                the event.send_event field to be set to TRUE, since the event is not
                                                        really comming from the server.

                                                                * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz
                                                                        which cares about an initial setting of program name and program class.

                                                                                * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which
                                                                                        strips leading pathnames from gdk_progname.

26 years agofixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin
Tim Janik [Tue, 17 Mar 1998 15:13:17 +0000 (15:13 +0000)]
fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin

Tue Mar 17 12:36:35 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing
                GTK_ARROW_LEFT, correction from Damon Chaplin <DAChaplin@email.msn.com>.

26 years agoUse StructureNotifyMaskMask as the mask, as this enables an application
Miguel de Icaza [Tue, 17 Mar 1998 07:54:57 +0000 (07:54 +0000)]
Use StructureNotifyMaskMask as the mask, as this enables an application

Tue Mar 17 02:02:02 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
the mask, as this enables an application listening to those events
to catch the root events.  Thanks to Maciej for pointing us in the
right direction.
(gdk_dnd_drag_enter): Likewise.
(gdk_dnd_drag_leave): Likewise.
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.

26 years agoUse signed integers so that testing will not fail for windows that are
Federico Mena [Tue, 17 Mar 1998 04:20:47 +0000 (04:20 +0000)]
Use signed integers so that testing will not fail for windows that are

Mon Mar 16 22:31:02 1998  Federico Mena  <federico@nuclecu.unam.mx>

* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
testing will not fail for windows that are off-screen.

(gdk_window_xid_at_coords): Only considers visible windows.

26 years agoexported gtk_spin_button_spin since it is used in testgtk, and besides
Tim Janik [Tue, 17 Mar 1998 03:16:11 +0000 (03:16 +0000)]
exported gtk_spin_button_spin since it is used in testgtk, and besides

Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                used in testgtk, and besides that.

                        * gtk/testgtk.c: created a new "test" cursors, which showes different
                                types of GdkCursors and is a very simple example at using the drawing
                                        area.

                                        Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>

                                                * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                                                        used in testgtk, and besides that.

                                                                * gtk/testgtk.c: created a new "test" cursors, which showes different
                                                                        types of GdkCursors and is a very simple example at using the drawing
                                                                                area.

26 years ago- new question on modal windows - new question on updating progressbars -
GMT 1998 Tony Gale [Mon, 16 Mar 1998 18:27:27 +0000 (18:27 +0000)]
- new question on modal windows - new question on updating progressbars -

Mon Mar 16 18:19:31 GMT 1998 Tony Gale  <gale@gimp.org>
        * docs/gtkfaq.sgml:
            - new question on modal windows
            - new question on updating progressbars
            - update all the links to gtk.org

26 years agojust fix an old entry
Tim Janik [Mon, 16 Mar 1998 17:47:17 +0000 (17:47 +0000)]
just fix an old entry
-timj

26 years ago- New subsection on colourselection from Tom Bech <tomb@ii.uib.no> - Moved
GMT 1998 Tony Gale [Mon, 16 Mar 1998 09:25:13 +0000 (09:25 +0000)]
- New subsection on colourselection from Tom Bech <tomb@ii.uib.no> - Moved

Mon Mar 16 09:15:03 GMT 1998 Tony Gale  <gale@gimp.org>

        * docs/gtk_tut.sgml:
            - New subsection on colourselection from Tom Bech <tomb@ii.uib.no>
            - Moved fileselection text to Miscallaneous Widgets section
            - Started new section on the Text widget
            - Removed Viewport, Paned, HPaned and VPaned from list of
              NO_WINDOW widgets.

26 years agoAdded trailing newline, hopefully will fix the problem with esac
Owen Taylor [Mon, 16 Mar 1998 06:36:05 +0000 (06:36 +0000)]
Added trailing newline, hopefully will fix the problem with esac

Mon Mar 16 01:33:36 1998  Owen Taylor  <owt1@cornell.edu>

* gtk-config.in: Added trailing newline, hopefully will
  fix the problem with esac disappearing.

* gtk/Makefile.am (test-debug): Improved test targets
  will work with --enable-shared
         [From:  Raja R Harinath  <harinath@cs.umn.edu>]

   * gtk.m4: Not all shells understand $(...).  Use `...` instead.
         [From:  Raja R Harinath  <harinath@cs.umn.edu>]
- use AM_PATH_PROG instead of AM_CHECK_PROG, so the user
  can specify programs not in their path.

* Makefile.am: added gtk.m4 to EXTRA_DIST

26 years agoremoved GRAB_EXCLUSIVE again, just disable modal event delivery for
Tim Janik [Sun, 15 Mar 1998 22:49:50 +0000 (22:49 +0000)]
removed GRAB_EXCLUSIVE again, just disable modal event delivery for

Sun Mar 15 23:44:10 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h:
                * gtk/gtkmenushell.c:
                        * gtk/gtkmenu.c:
                                * gtk/gtkmain.c: removed GRAB_EXCLUSIVE again, just disable modal
                                        event delivery for insensitive children.

26 years agoAdded lib/glib to file list.
rhlabs [Sun, 15 Mar 1998 22:25:11 +0000 (22:25 +0000)]
Added lib/glib to file list.

-Marc

26 years agoAdded -k to SMP make line.
rhlabs [Sun, 15 Mar 1998 22:07:10 +0000 (22:07 +0000)]
Added -k to SMP make line.

-Marc

26 years agoAdd bin/* to file list.
rhlabs [Sun, 15 Mar 1998 22:01:39 +0000 (22:01 +0000)]
Add bin/* to file list.

-Marc

26 years agofor now reverted the last change, since it broke click-select-click menus
Tim Janik [Sun, 15 Mar 1998 21:46:03 +0000 (21:46 +0000)]
for now reverted the last change, since it broke click-select-click menus

Sun Mar 15 22:44:33 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
                the last change, since it broke click-select-click menus for gimp.

26 years agoAdded aclocal stuff.
rhlabs [Sun, 15 Mar 1998 21:29:10 +0000 (21:29 +0000)]
Added aclocal stuff.

-Marc

26 years agoremoved the ugly check whether we need gtk_widget_destroy or
Tim Janik [Sun, 15 Mar 1998 21:14:28 +0000 (21:14 +0000)]
removed the ugly check whether we need gtk_widget_destroy or

Sun Mar 15 20:13:42 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
                we need gtk_widget_destroy or gtk_object_destroy. these functions are
                        by no means allowed to act differently!

                                * gtk/gtkmisc.c (gtk_misc_set_alignment): check for _DRAWABLE instead
                                        of _VISIBLE to operate on widget->window.
                                                (gtk_misc_set_padding): likewise.

                                                        * gtk/gtkwidget.c: slightly reordered object arguments.

                                                                * gtk/gtkobject.c (gtk_object_setv):
                                                                        * gtk/gtkobject.c (gtk_object_getv):
                                                                                operator `!' has precedence over `&'.

26 years agonotebook fix from lars.
Tim Janik [Sun, 15 Mar 1998 13:40:15 +0000 (13:40 +0000)]
notebook fix from lars.
-timj

26 years agoadded new flag GTK_EXCLUSIVE_GRAB. allow exclusive grabs.
Tim Janik [Sun, 15 Mar 1998 13:33:54 +0000 (13:33 +0000)]
added new flag GTK_EXCLUSIVE_GRAB. allow exclusive grabs.

Sun Mar 15 13:25:28 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.
                * gtk/gtkmain.c: allow exclusive grabs.

                        * gtk/gtkmenu.c: grab exclusively.
                                * gtk/gtkmenushell.c: grab exclusively.

                                        * gtk/gtkmenushell.c: don't activate insensitive menu items when
                                                in click-selects mode.

                                                        * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): activate submenus
                                                                on popup.

                                                                        * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't take
                                                                                *additional* button presses into account.

                                                                                        * gtk/gtkmenushell.c (gtk_menu_shell_button_press): don't take
                                                                                                foreign button releases into account.

oh boy, please check this out people, hope i covered all cases.

26 years agochanged run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it
Tim Janik [Sun, 15 Mar 1998 08:53:59 +0000 (08:53 +0000)]
changed run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it

Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktipsquery.c (gtk_tips_query_set_labels): changed run type
                of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it can be overidden
                        by the user.

26 years agosmall fix by Assar Westerlund <assar@sics.se>.
Tim Janik [Sun, 15 Mar 1998 07:58:10 +0000 (07:58 +0000)]
small fix by Assar Westerlund <assar@sics.se>.

Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwindow.c (gtk_window_configure_event): small fix by
                Assar Westerlund <assar@sics.se>.

26 years agodon't cast a NULL pointer.
Tim Janik [Sun, 15 Mar 1998 07:33:13 +0000 (07:33 +0000)]
don't cast a NULL pointer.

Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.

26 years agoupdates -timj
Tim Janik [Sun, 15 Mar 1998 03:56:32 +0000 (03:56 +0000)]
updates -timj

updates
-timj

26 years agoReleased 0.99.7
PST 1998 Shawn T. Amundson [Sun, 15 Mar 1998 03:46:29 +0000 (03:46 +0000)]
Released 0.99.7

Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * Released 0.99.7

26 years agoadded gtk.m4 to EXTRA_DIST
Owen Taylor [Sun, 15 Mar 1998 01:48:20 +0000 (01:48 +0000)]
added gtk.m4 to EXTRA_DIST

Sat Mar 14 20:29:34 1998  Owen Taylor  <owt1@cornell.edu>

* Makefile.am: added gtk.m4 to EXTRA_DIST

26 years agoFixed reversed conditional, so checks against supplied version.
Owen Taylor [Sun, 15 Mar 1998 01:15:34 +0000 (01:15 +0000)]
Fixed reversed conditional, so checks against supplied version.

Sat Mar 14 20:07:45 1998  Owen Taylor  <owt1@cornell.edu>

* gtk.m4: Fixed reversed conditional, so checks against
  supplied version.

26 years agofixed a bug with invoking the quit handlers that could cause them to be
Tim Janik [Sat, 14 Mar 1998 23:47:48 +0000 (23:47 +0000)]
fixed a bug with invoking the quit handlers that could cause them to be

Sat Mar 14 10:10:46 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmain.c (gtk_main): fixed a bug with invoking the quit handlers
                that could cause them to be removed wihout being invoked.

26 years agoMakefile.am fixes minor fix to gdkwindow.c -owt
Owen Taylor [Sat, 14 Mar 1998 23:14:58 +0000 (23:14 +0000)]
Makefile.am fixes minor fix to gdkwindow.c -owt

Makefile.am fixes
minor fix to gdkwindow.c
                                        -owt

26 years agoReleased 0.99.6
PST 1998 Shawn T. Amundson [Sat, 14 Mar 1998 22:41:34 +0000 (22:41 +0000)]
Released 0.99.6

Sat Mar 14 14:36:40 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * Released 0.99.6

        * gdk/gtk_tut.sgml:
        * gdk/gtk_tut_it.sgml: fixed Ian Main's e-mail address

26 years agoSome cleanups of signedness warnings
Owen Taylor [Sat, 14 Mar 1998 18:33:41 +0000 (18:33 +0000)]
Some cleanups of signedness warnings

Sat Mar 14 13:26:09 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkentry.c gtk/gtktext.c: Some cleanups of signedness
          warnings

* gtk/gtkhandlebox.h: Changed gint ... : 1 to guint ... : 1

26 years agoMoved the gtk_signal_connect of the specified callback into the big
Federico Mena Quintero [Sat, 14 Mar 1998 16:09:36 +0000 (16:09 +0000)]
Moved the gtk_signal_connect of the specified callback into the big

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

* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Moved the
gtk_signal_connect of the specified callback into the big switch()
for buttons.  We don't want to connect to the "clicked" signal of
a custom widget or a space element, because it may not have one.
(gtk_toolbar_insert_element): Extra sanity check; if the type is
GTK_TOOLBAR_CHILD_WIDGET, then the specified widget must not be NULL.

26 years agoFixed a bashism (a bash 2.0ism at that) in the gtk.m4 tests
Manish Singh [Sat, 14 Mar 1998 10:57:18 +0000 (10:57 +0000)]
Fixed a bashism (a bash 2.0ism at that) in the gtk.m4 tests

-Yosh

26 years agoDocumentation about gtk-config and AM_PATH_GTK
Owen Taylor [Sat, 14 Mar 1998 09:52:03 +0000 (09:52 +0000)]
Documentation about gtk-config and AM_PATH_GTK

26 years agorefuse to allocate with a greater height than requested.
Tim Janik [Sat, 14 Mar 1998 08:15:23 +0000 (08:15 +0000)]
refuse to allocate with a greater height than requested.

Sat Mar 14 08:29:56 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkhandlebox.c (gtk_handle_box_size_allocate): refuse to allocate
                with a greater height than requested.
                        (gtk_handle_box_remove): clean up if the child is detached.

                                * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): don't take invisible
                                        children into account.

26 years agoFixed misplaced 'else.' -owt
Owen Taylor [Sat, 14 Mar 1998 07:29:32 +0000 (07:29 +0000)]
Fixed misplaced 'else.'                -owt

26 years agoDon't leave NULL's in argv.
Owen Taylor [Sat, 14 Mar 1998 07:16:36 +0000 (07:16 +0000)]
Don't leave NULL's in argv.

Sat Mar 14 02:12:44 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkmain.c gdk/gdk.c: Don't leave NULL's in argv.

26 years agoMoved glibconfig.h to $pkglibdir/include. Update to libtool-1.1.
Owen Taylor [Sat, 14 Mar 1998 06:42:39 +0000 (06:42 +0000)]
Moved glibconfig.h to $pkglibdir/include. Update to libtool-1.1.

Sat Mar 14 01:36:51 1998  Owen Taylor  <owt1@cornell.edu>

Moved glibconfig.h to $pkglibdir/include. Update to libtool-1.1.

26 years agogpointer gtk_object_get_user_data (GtkObject *object) { if
Tim Janik [Sat, 14 Mar 1998 06:22:28 +0000 (06:22 +0000)]
gpointer gtk_object_get_user_data (GtkObject *object) { if

gpointer
gtk_object_get_user_data (GtkObject *object)
{
  if (user_data_key_id)
-    gtk_object_get_data_by_id (object, user_data_key_id);
+    return gtk_object_get_data_by_id (object, user_data_key_id);

  return NULL;
}

boy oh boy, that was a *neat* one ;)
-timj

26 years agoDon't resize windows when request is rejected by WM. Only use the resize
Owen Taylor [Sat, 14 Mar 1998 05:15:16 +0000 (05:15 +0000)]
Don't resize windows when request is rejected by WM. Only use the resize

Sat Mar 14 00:03:34 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkwindow.c:
          Don't resize windows when request is rejected by WM.
  Only use the resize count to guess whether a Configure
  event was a rejection by the WM, or a move.

* gdk/gdk.c gdk/gdktypes.h:
  - Don't XDestroyWindow foreign windows (If they're a child of
  one of our windows, reparent them to root and send them a WM
  delete event, otherwise, just delete the GTK structure.)
  Handle notification of their deletion properly.
          (Made foreign windows a seperate window type to do this)

* gtk/gtkobject.c (gtk_object_set_data_full):
  Call the DestroyNotify when replacing the object data.

26 years agomake use of *_by_id() functions for handler key.
Tim Janik [Sat, 14 Mar 1998 04:43:14 +0000 (04:43 +0000)]
make use of *_by_id() functions for handler key.

Sat Mar 14 02:03:13 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtksignal.c: make use of *_by_id() functions for handler key.

        * gtk/gtkwidget.c: make use of *_by_id() functions for a bunch of keys.
        (gtk_widget_shutdown): new function to perform pre-destruction shutdown
        of the widget.
        (gtk_widget_unparent): call gtk_widget_set_parent_window(widget,NULL)

        * gtk/gtkobject.h:
        * gtk/gtkobject.c: GtkObject destruction is now split into an internally
        used shutdown class method and the usual GtkObject::destroy signal
        emission. this allowes for class based shutdown functionality prior
        to actuall object destruction.
        added *_by_id() counterparts for gtk_object_data_* functions, meant for
        internal use only.

        * gtk/gtkmain.c (gtk_quit_add_destroy): new function which will destroy
        a GtkObject once gtk_main() of a certain level finishes. it is save to
        destroy the object prior to that, gtk_quit_add_destroy will only destroy
        objects that are still existing.

26 years agoNow we return a GtkVisibility value, instead of a simple boolean. Also,
Federico Mena Quintero [Sat, 14 Mar 1998 00:07:36 +0000 (00:07 +0000)]
Now we return a GtkVisibility value, instead of a simple boolean. Also,

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

* gtk/gtkclist.c (gtk_clist_row_is_visible): Now we return a
GtkVisibility value, instead of a simple boolean.  Also, changed
all the functions that expected a boolean value to use
"!= GTK_VISIBILITY_NONE".

* gtk/gtkclist.h: Changed prototype for gtk_clist_row_is_visible().

* gtk/gtkenums.h (enum): Added GtkVisibility enum.

26 years agoInitial commit of spec file.
rhlabs [Fri, 13 Mar 1998 20:20:38 +0000 (20:20 +0000)]
Initial commit of spec file.

-Marc <marc@redhat.com>

26 years agoadded graphics, update tutorials appropriately
PST 1998 Shawn T. Amundson [Fri, 13 Mar 1998 19:26:59 +0000 (19:26 +0000)]
added graphics, update tutorials appropriately

Fri Mar 13 11:23:55 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtk_tut.sgml:
        * docs/gtk_tut_it.sgml:
        * docs/gtk_tut_packbox1.gif:
        * docs/gtk_tut_packbox2.gif:
        * docs/gtk_tut_table.gif: added graphics, update tutorials
          appropriately

26 years agoFixes to compile cleanly. I hope they are correct...
rhlabs [Fri, 13 Mar 1998 19:18:13 +0000 (19:18 +0000)]
Fixes to compile cleanly.  I hope they are correct...

-Marc <marc@redhat.com>

26 years agofix popup calculations (removal of FIXMEs), changes from Lars Hamann.
Tim Janik [Fri, 13 Mar 1998 17:45:16 +0000 (17:45 +0000)]
fix popup calculations (removal of FIXMEs), changes from Lars Hamann.

Fri Mar 13 18:25:07 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkcombo.c: fix popup calculations (removal
        of FIXMEs), changes from Lars Hamann.

Fri Mar 13 10:25:16 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: renamed gtk_widget_delete_hides to
        gtk_widget_hide_on_delete at owens request, and because the
        new name is much more descriptive.

26 years agodocs/gtkfaq.sgml: fix the spelling of Helge Hess's name
GMT 1998 Tony Gale [Fri, 13 Mar 1998 17:37:18 +0000 (17:37 +0000)]
docs/gtkfaq.sgml: fix the spelling of Helge Hess's name

Fri Mar 13 17:33:56 GMT 1998 Tony Gale <gale@gimp.org>

        docs/gtkfaq.sgml: fix the spelling of Helge Hess's name

26 years agoupdate links to documentation and remove question on whats needs to be
GMT 199 Tony Gale [Fri, 13 Mar 1998 09:43:20 +0000 (09:43 +0000)]
update links to documentation and remove question on whats needs to be

Fri Mar 13 09:40:17 GMT 199 Tony Gale  <gale@gimp.org>

        * docs/gtkfaq.sgml: update links to documentation and
          remove question on whats needs to be done before 1.0

26 years agoSet the column width of the clists to the longest string length so that
George Lebl [Fri, 13 Mar 1998 09:19:03 +0000 (09:19 +0000)]
Set the column width of the clists to the longest string length so that

Fri Mar 13 01:17:44 1998  George Lebl  <jirka@5z.com>

        * gtk/gtkfilesel.c: Set the column width of the clists
          to the longest string length so that the bottom scrollbar
          appears when you get some long files in the list

26 years agoRemoved gtk+-xconfig added gtk-config
Owen Taylor [Fri, 13 Mar 1998 01:52:51 +0000 (01:52 +0000)]
Removed gtk+-xconfig added gtk-config

26 years agofresh news today ;) -timj
Tim Janik [Fri, 13 Mar 1998 01:34:22 +0000 (01:34 +0000)]
fresh news today ;) -timj

fresh news today ;)
-timj

26 years agofix one missing quote.
Federico Mena Quintero [Thu, 12 Mar 1998 23:45:37 +0000 (23:45 +0000)]
fix one missing quote.

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

* docs/gtk_tut.sgml: fix one missing quote.

26 years agologged change.
Owen Taylor [Thu, 12 Mar 1998 23:27:18 +0000 (23:27 +0000)]
logged change.

26 years agoAdded a new mechanism for GTK-dependent programs to find out about the
Owen Taylor [Thu, 12 Mar 1998 23:23:43 +0000 (23:23 +0000)]
Added a new mechanism for GTK-dependent programs to find out about the

Thu Mar 12 18:01:03 1998  Owen Taylor  <owt1@cornell.edu>

* gtk.m4 gtk-config.in Makefile.am configure.in:
  Added a new mechanism for GTK-dependent programs to
  find out about the installed GTK. (Does not remove
  any current functionality)

* gtk+-xconfig.in: Was no longer used for anything.

26 years agoyeah, yeah, i broke this file with my last commit unintentionally.
Tim Janik [Thu, 12 Mar 1998 22:13:54 +0000 (22:13 +0000)]
yeah, yeah, i broke this file with my last commit unintentionally.
-timj

26 years agoreturn TRUE for GtkWidget::delete_event to avoid destruction of our float
Tim Janik [Thu, 12 Mar 1998 21:54:39 +0000 (21:54 +0000)]
return TRUE for GtkWidget::delete_event to avoid destruction of our float

Thu Mar 12 20:17:47 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkhandlebox.c (gtk_handle_box_delete_float): return TRUE for
        GtkWidget::delete_event to avoid destruction of our float window.

        * gtk/gtkmain.c (gtk_main_iteration_do): GDK_DELETE will destroy a
        widget if the last handler returned FALSE or there was none connected.

        * gtk/testgtk.c: adapted all delete_event/destroy case that were affected.

        * gtk/gtkwidget.c (gtk_widget_delete_hides): new function that will hide
        a widget and return TRUE to avoid window deletion if
        connected to GtkWIdget::delete_event.

26 years agoChanged name of GTK to the GIMP Toolkit
PST 1998 Shawn T. Amundson [Thu, 12 Mar 1998 19:53:51 +0000 (19:53 +0000)]
Changed name of GTK to the GIMP Toolkit

Thu Mar 12 11:51:33 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtk.texi: Changed name of GTK to the GIMP Toolkit

26 years agonew_pixmap wasn't using its filename argument. Add descriptions
Russell Nelson [Thu, 12 Mar 1998 18:57:46 +0000 (18:57 +0000)]
new_pixmap wasn't using its filename argument. Add descriptions

Wed Mar 11 22:52:57 1998  Russell Nelson <nelson@crynwr.com>

* gtk/gtktest.c: new_pixmap wasn't using its filename argument.
* docs/gtk.texi: Add descriptions

26 years agoMake gcc give printf format warnings for g_string_sprintf() and other
Elliot Lee [Thu, 12 Mar 1998 18:28:49 +0000 (18:28 +0000)]
Make gcc give printf format warnings for g_string_sprintf() and other

Make gcc give printf format warnings for g_string_sprintf() and other
vararg printf functions.

26 years agoI just remembered this commit failed before because
PST 1998 Shawn T. Amundson [Thu, 12 Mar 1998 18:23:11 +0000 (18:23 +0000)]
I just remembered this commit failed before because
of problems with the cvs server... connection timed out.

Wed Mar 11 14:36:48 PST 1998 Shawn T. Amundson <amundson@gimp.org>

        * gtk/docs/: added tutorial, changed some files around to
          make more sense.

26 years agochanged handler tags to be of type guint, reflecting the internal tag
Tim Janik [Thu, 12 Mar 1998 18:00:45 +0000 (18:00 +0000)]
changed handler tags to be of type guint, reflecting the internal tag

Thu Mar 12 10:49:38 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmain.h:
        * gtk/gtkmain.c: changed handler tags to be of type guint, reflecting
        the internal tag handling.

        * gtk/gtkcurve.h: macro fixups.

26 years agofetch the inintial value of attributes.event_mask from
Tim Janik [Thu, 12 Mar 1998 09:14:03 +0000 (09:14 +0000)]
fetch the inintial value of attributes.event_mask from

Thu Mar 12 08:55:34 1998  Tim Janik  <timj@gimp.org>

        * gtkitem.c:
        * gtktree.c:
        * gtklist.c: fetch the inintial value of attributes.event_mask from
        gtk_widget_get_events (widget) (pointed out by Damon Chaplin
        <DAChaplin@email.msn.com>).

26 years agoapplied gtk-shige-980311-0.patch.gz, which removes the erronerous
Tim Janik [Thu, 12 Mar 1998 07:28:41 +0000 (07:28 +0000)]
applied gtk-shige-980311-0.patch.gz, which removes the erronerous

Thu Mar 12 07:43:33 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdk.h:
        * gdk/gdkvisual.c: applied gtk-shige-980311-0.patch.gz, which removes
        the erronerous gdk_query_visuals() function in favour of
        gdk_list_visuals() which does a correct job.

        * gtk/gtkcontainer.h: applied gtk-draco-980311-0.patch.gz which fixes
        a class cast check.

        * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980312-0.patch.gz about
        '+' sign acceptance.

        * gtk/gtknotebook.c: applied gtk-hamann_jeske-980311-1.patch.gz which
        cares about delayed tab label creation.

26 years agoBug fixes/improvements to the motion event eating for Dnd
Elliot Lee [Wed, 11 Mar 1998 23:12:25 +0000 (23:12 +0000)]
Bug fixes/improvements to the motion event eating for Dnd

26 years agoVarious minor cleanups related to -W
Owen Taylor [Wed, 11 Mar 1998 22:49:40 +0000 (22:49 +0000)]
Various minor cleanups related to -W

Tue Mar 10 23:02:42 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkdnd.c gtk/gtkclist.c gtk/gtksignal.c gtk/testgtk.c:
  Various minor cleanups related to -W

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 22:35:32 +0000 (22:35 +0000)]
<raster@redhat.com>

<raster@redhat.com>

fixed motiong drag to remove lag - ie no lagging of icons behind mouse when
doing DND. :)

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 22:24:54 +0000 (22:24 +0000)]
<raster@redhat.com>

<raster@redhat.com>

added bolleean to gdk_window_xid_at_coords for excluding children fo
excluded windows

26 years agoI did a topdir/ChangeLog entry, why should I put anything in here? :)
Elliot Lee [Wed, 11 Mar 1998 21:55:06 +0000 (21:55 +0000)]
I did a topdir/ChangeLog entry, why should I put anything in here? :)

26 years ago<raster@redhat.com>
rhlabs [Wed, 11 Mar 1998 21:44:22 +0000 (21:44 +0000)]
<raster@redhat.com>

<raster@redhat.com>

final fixes to STUPId comparison of types of loop end - i missed the
unsigned bit! i will NEVEr use unsigned ints ever again!

26 years agoFixed file selector
Jay Painter [Wed, 11 Mar 1998 07:59:46 +0000 (07:59 +0000)]
Fixed file selector

26 years agoapplied gtk-hamann_jeske-980311-0.patch.gz.
Tim Janik [Wed, 11 Mar 1998 06:11:52 +0000 (06:11 +0000)]
applied gtk-hamann_jeske-980311-0.patch.gz.

Wed Mar 11 07:10:11 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkspinbutton.h:
        * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980311-0.patch.gz.

26 years agoapplied gtk-bolliet-980310-0.patch.gz which adds more checks and
Tim Janik [Wed, 11 Mar 1998 04:05:15 +0000 (04:05 +0000)]
applied gtk-bolliet-980310-0.patch.gz which adds more checks and

Wed Mar 11 04:35:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtklist.c:
        * gtk/gtktree.h:
        * gtk/gtktree.c:
        * gtk/gtktreeitem.h:
        * gtk/gtktreeitem.c: applied gtk-bolliet-980310-0.patch.gz which adds
        more checks and implements gtk_tree_clear_items. made a bunch of style
        and indentation fixes.

26 years agocode and structure clean ups. fixed the tooltips flickering bug.
Tim Janik [Wed, 11 Mar 1998 02:41:15 +0000 (02:41 +0000)]
code and structure clean ups. fixed the tooltips flickering bug.

Wed Mar 11 03:35:17 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktooltips.h:
        * gtk/gtktooltips.c: code and structure clean ups. fixed the
        tooltips flickering bug.

26 years agoChain to the parent finalize handler. (from: "Mattias.Gronlund"
Owen Taylor [Wed, 11 Mar 1998 00:59:33 +0000 (00:59 +0000)]
Chain to the parent finalize handler. (from: "Mattias.Gronlund"

Tue Mar 10 19:55:13 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkscrolledwindow.c (gtk_scrolled_window_finalize):
  Chain to the parent finalize handler.
          (from: "Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)

26 years agofile theme_main.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:34 +0000 (23:54 +0000)]
file theme_main.c was initially added on branch themes.

26 years agofile theme_led_on2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:33 +0000 (23:54 +0000)]
file theme_led_on2.xpm was initially added on branch themes.

26 years agofile theme_led_on1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:32 +0000 (23:54 +0000)]
file theme_led_on1.xpm was initially added on branch themes.

26 years agofile theme_led_off2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:31 +0000 (23:54 +0000)]
file theme_led_off2.xpm was initially added on branch themes.

26 years agofile theme_led_off1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:30 +0000 (23:54 +0000)]
file theme_led_off1.xpm was initially added on branch themes.

26 years agofile theme_button2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:29 +0000 (23:54 +0000)]
file theme_button2.xpm was initially added on branch themes.

26 years agofile theme_button.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:28 +0000 (23:54 +0000)]
file theme_button.xpm was initially added on branch themes.

26 years agofile theme_button.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:26 +0000 (23:54 +0000)]
file theme_button.c was initially added on branch themes.

26 years agofile theme_btn3.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:25 +0000 (23:54 +0000)]
file theme_btn3.xpm was initially added on branch themes.

26 years agofile theme_btn2.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:24 +0000 (23:54 +0000)]
file theme_btn2.xpm was initially added on branch themes.

26 years agofile theme_btn1.xpm was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:23 +0000 (23:54 +0000)]
file theme_btn1.xpm was initially added on branch themes.

26 years agofile theme2_main.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:22 +0000 (23:54 +0000)]
file theme2_main.c was initially added on branch themes.

26 years agofile theme2_button.c was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:21 +0000 (23:54 +0000)]
file theme2_button.c was initially added on branch themes.

26 years agofile THEMES.README was initially added on branch themes.
rhlabs [Tue, 10 Mar 1998 23:54:14 +0000 (23:54 +0000)]
file THEMES.README was initially added on branch themes.