1. 19 Feb, 1998 1 commit
  2. 18 Feb, 1998 3 commits
    • Jay Painter's avatar
      A couple of compiler warning fixes, GtkCList signal changes, changed · 9ad92229
      Jay Painter authored
      fileselect to work with new CList signals, and enhanced testgtk's clist
      example to show pixmaps and signal results. -Jay Painter
      9ad92229
    • Tim Janik's avatar
      new signal GtkWidget::set_parent. this signal will be emitted once a · 7e3692b9
      Tim Janik authored
      Wed Feb 18 04:38:24 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c:
                new signal GtkWidget::set_parent. this signal will be emitted once a
                widget gets a new/no parent assigned (i.e. from gtk_widget_unparent
                and gtk_widget_set_parent).
      7e3692b9
    • Tim Janik's avatar
      new functions gtk_tooltips_data_get and gtk_tooltips_set_tip, · 83e3008d
      Tim Janik authored
      Wed Feb 18 02:58:50 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtktooltips.h:
                new functions gtk_tooltips_data_get and
                gtk_tooltips_set_tip, gtk_tooltips_set_tips is discouraged now.
              (_GtkTooltips): removed some fields that were never used.
                changed boolean fields to one bit size, to pack together with
                the delay field.
              (_GtkTooltipsData): added tip_private, renamed tips_text to
                tip_text.
              * gtk/gtktooltips.c:
                (gtk_tooltips_data_get): new function to retrive the
                _GtkTooltipsData structure of a widget.
              (gtk_tooltips_set_tip): new function for more extensible tooltips
                settings than gtk_tooltips_set_tips which is discuraged now.
                removed a bug that caused a stale object_data key to a
                _GtkTooltipsData structure.
                removed a bug that caused tips falsly to come up for a grab widget
                on widgets where events were grabbed from.
      83e3008d
  3. 17 Feb, 1998 9 commits
  4. 16 Feb, 1998 2 commits
  5. 14 Feb, 1998 1 commit
    • Tim Janik's avatar
      gtkmain forgot a return value. · a589338a
      Tim Janik authored
      few fixes with resizing behaviour and non opaque moves
      where configure events would exceed te number of calls
      to gdk_window_resize.
      -timj
      a589338a
  6. 13 Feb, 1998 8 commits
    • Owen Taylor's avatar
      Fixed some incorrect information. · 623f7d97
      Owen Taylor authored
      623f7d97
    • Tim Janik's avatar
      check for clist !REALIZED. (draw_rows): bail out if the widget isn't · 3c7f5af2
      Tim Janik authored
      Fri Feb 13 19:08:51 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkclist.c (check_exposures): check for clist !REALIZED.
              (draw_rows): bail out if the widget isn't drawable.
              (hadjustment_value_changed):
              (vadjustment_value_changed): bail out if clist isn't drawable.
      
              * gdk/gdk.c (graphics_expose_predicate): check for private != NULL.
              (gdk_event_get_graphics_expose): check for window != NULL.
      3c7f5af2
    • Owen Taylor's avatar
      Realize window before creating xpm so it gets the right colormap/visual, · c3fc26bb
      Owen Taylor authored
      Fri Feb 13 00:33:26 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (shape_create_icon): Realize window before
      	  creating xpm so it gets the right colormap/visual,
      	  instead of the default one.
      c3fc26bb
    • Owen Taylor's avatar
      Change style->white to style->base[] where appropriate. Change the default · 041983a7
      Owen Taylor authored
      	* gtk/gtkentry.c gtk/gtkinputdialog.c gtk/gtklist.c
      	  gtk/gtklistitem.c gtktree.c gtk/gtktreeitem.c testgtkrc:
      
      	  Change style->white to style->base[] where appropriate.
      	  Change the default style to make this apparent. (Yes, it's
      	  ugly... it can be removed later)
      041983a7
    • Owen Taylor's avatar
      gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch] · 888470ee
      Owen Taylor authored
      Thu Feb 12 23:59:49 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]
      	  gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h
      
       	  Replaced all _interp functions with _full functions.
      	  (_interp functions left in for compatibility until 0.99.5).
      	  Difference: _full functions take _both_ a C-language callback and a
      	  marshaller, and simply ignore the C-language callback
      	  if the marshaller is present. This allows the destroy notification
      	  to be used without marshalling.
      
      	  gtk_selection_add_handler[_full]() regularized to agree
      	  with other callbacks.
      
      	  Also, added gtk_input_add_full() to the header file.
      	  (gtk_input_add_interp() was never there)
      
      	* gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized.
      	  Added new function gtk_idle_add_priority to create
      	  an idle with a specified priority (default is zero)
      	  constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW]
      	  (redraws, resizes run at GTK_PRIORITY_INTERNAL)
      
      	* gtk/gtkentry.c gtk/testselection.c: changes to keep up with change
        	  to gtkselection.c.
      888470ee
    • Owen Taylor's avatar
      Add a DestroyNotify field, and gtk_object_set_data_full() to match. · dd07df15
      Owen Taylor authored
      Tue Feb 10 15:01:44 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkobject.c gtk/gtkobject.h: Add a DestroyNotify
      	field, and gtk_object_set_data_full() to match.
      
      	* gtk/gtkobject.c (gtk_object_finalize): ObjectData structures
      	were being added to a free list, then forgotten about. Just
      	rely on GMemChunk instead.
      dd07df15
    • Owen Taylor's avatar
      change logged. · 39e26262
      Owen Taylor authored
      39e26262
    • Owen Taylor's avatar
      removed deprecated g_string_equal and g_string_hash. · c43a50fe
      Owen Taylor authored
      Thu Feb 12 22:48:11 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gstring.c glib.h: removed deprecated g_string_equal
      	  and g_string_hash.
      c43a50fe
  7. 12 Feb, 1998 2 commits
  8. 11 Feb, 1998 3 commits
  9. 10 Feb, 1998 4 commits
    • Tim Janik's avatar
      new function gtk_signal_handler_pending() returning the id of the next · 2090cc65
      Tim Janik authored
      Wed Feb 11 00:18:31 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c: new function gtk_signal_handler_pending() returning
                the id of the next handler pending for that signal or 0.
                put struct GtkHandler back into gtksignal.c along with
                gtk_signal_get_handlers.
      2090cc65
    • Owen Taylor's avatar
      Add check to see if the C library's iswalnum can actually be used. (Not · 13179d42
      Owen Taylor authored
      Tue Feb 10 13:04:36 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* configure.in: Add check to see if the C library's
      	  iswalnum can actually be used. (Not true for
      	  Linux libc-5.4.38)
      13179d42
    • Tim Janik's avatar
      ok, there have been several severe bugs in the signal handler referencing · 6898536a
      Tim Janik authored
      Tue Feb 10 07:12:07 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c:
              ok, there have been several severe bugs in the signal handler
              referencing and ->next connection stuff. these bugs caused
              invokations of handlers that are disconnected and - worse -
              destroyed already. invokation of *destroyd* handlers mean:
              anything can be executed , because the handler structure can just
              as well be realocated.
              at the cost of an extra ->prev field per handler we should have a
              reasonable stable system now, because of the various places that
              can cause a handler to be disconnected (*any* handler invokation can
              cause *any* or *all* handlers to be disconnected, there is no way
              around a doubly linked list, actually handler disconnection has never
              worked correctly because of this.
              handlers are connected together via a *doubly* linked list now, and it
              is *not* valid to remove a handler out of this list untill all its
              references have been droped, i.e. handler->ref_count==0.
              to prevent emissions of disconnected but still referenced handlers,
              disconnected handlers are simply marked as blocked and get an id of 0
              which is an invalid signal handler id.
              the handler->id has been changed to have 28 significant bits (using
              alignment gaps), since 65536 (old range: guint16) signal connections
              (as a total) can easily be reached by complex applications.
              this whole handler thingy is at least as tedious as writing doubly
              linked list implementations ;)
      6898536a
    • Owen Taylor's avatar
      Check for the RESIZE_NEEDED flag and remove the widget from the list. · f98686da
      Owen Taylor authored
      Mon Feb  9 23:08:16 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Check for
      	  the RESIZE_NEEDED flag and remove the widget from the list.
      	  Remove the check from gtk_widget_destroy (no longer needed).
      
      	* Unrealize widget _before_ calling "destroy" signal, and
      	  unset VISIBLE flag.
      
      	* Unrealize child widgets _after_ unrealizing parent to improve
      	  visual appearance.
      f98686da
  10. 09 Feb, 1998 1 commit
  11. 08 Feb, 1998 2 commits
  12. 07 Feb, 1998 4 commits