]> Pileus Git - ~andy/gtk/commit
new function to perform the same actions as gtk_list_remove_items, but
authorTim Janik <timj@gimp.org>
Thu, 5 Feb 1998 03:53:41 +0000 (03:53 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 5 Feb 1998 03:53:41 +0000 (03:53 +0000)
commit9258a7aecb1dfdff5fb0c91dee4c1a9a1d3cf13c
treedc0d64f09d14108d1aebc5a6f69ddc1e359f08b6
parentf82814760ece61d9c7e500bbaae2696ec84cc50c
new function to perform the same actions as gtk_list_remove_items, but

Thu Feb  5 02:13:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtklist.h:
        * gtk/gtklist.c (gtk_list_remove_items_no_unref): new function
          to perform the same actions as gtk_list_remove_items, but
          supply the removed widgets with an additional reference count.

        * gtk/gtkmain.c (gtk_main_iteration_do): ignore events
          with event_widget == NULL, since they are bogus events
          from destroyed GdkWindows, exept for the case where
          event->type==GDK_PROPERTY_NOTIFY. Always handle expired
          timeout functions when returning from this function.

        * gtk/gtkwidget.c (gtk_widget_event): ignore GDK_EXPOSE events
          if event->window == NULL. Also, if this function couldn't handle
          the event for any reason (including failing assumptions), make
          the return value to look as if the event had been handled to
          avoid further processing (and warnings).

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: remove gtk_widget_sink, because there is
          no point in providing such a function.

        * gdk/gdk.c (gdk_init): changed options `-name' and `-class'
          to `--name' and `--class', because the old names would
          confuse getopt(). these arguments have been introduced in the
          changes from gtk+970916 to gtk+970925 without a ChangeLog entry,
          changing argument names is painful, it would be nice if people
          would care about compatibility and consistency in the first place!
15 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/refcounting.txt
gdk/gdk.c
gdk/x11/gdkmain-x11.c
gtk/gtklist.c
gtk/gtklist.h
gtk/gtkmain.c
gtk/gtkwidget.c
gtk/gtkwidget.h