1. 27 Jun, 2010 1 commit
  2. 02 May, 2010 1 commit
  3. 27 Oct, 2009 1 commit
  4. 30 Oct, 2008 2 commits
  5. 01 Jul, 2008 1 commit
  6. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  7. 20 Jun, 2008 3 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal 3 remaining fields in GtkButton. · 7f4da5ab
      Tim Janik authored
      svn path=/trunk/; revision=20556
      7f4da5ab
    • Tim Janik's avatar
      Deprecate direct access to public variables in GtkButton. · 81acd2e7
      Tim Janik authored
      * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
      
      svn path=/trunk/; revision=20491
      81acd2e7
  8. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  9. 25 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h · a362eecc
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkbutton.h
      	* gtk/gtkcellrenderer.h
      	* gtk/gtkimcontext.h
      	* gtk/gtkstyle.h
      	* gtk/gtktoolbar.h
      	* gtk/gtktooltip.h
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkwidget.h: add const to constant structs which are passed
      	into GTK+. Also add some forgotten const for const strings.
      
      	* gtk/gtkbutton.c
      	* gtk/gtkcellrenderer.c
      	* gtk/gtkimcontext.c
      	* gtk/gtkstyle.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktooltip.c
      	* gtk/gtktreeview.c
      	* gtk/gtktreeviewcolumn.c
      	* gtk/gtkwidget.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19399
      a362eecc
  10. 31 May, 2006 1 commit
  11. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  12. 15 Nov, 2004 1 commit
  13. 15 Dec, 2003 1 commit
  14. 02 Apr, 2003 1 commit
    • Soeren Sandmann's avatar
      add property focus_on_click · b5d8a668
      Soeren Sandmann authored
      Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkbutton.[ch] (gtk_button_class_init): add property
      	focus_on_click
      
      	* gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
      	navigation not wrap around.
      b5d8a668
  15. 11 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · f18d5d35
      Manish Singh authored
      Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
              gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
              gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
              gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
              cleanup
      f18d5d35
  16. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  17. 22 Feb, 2002 1 commit
  18. 04 Dec, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Bill Haneman (with many modifications) to make the focus color · 7537825b
      Owen Taylor authored
      Mon Dec  3 16:39:17 2001  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Bill Haneman (with many modifications) to make
      	the focus color work on dark themes and to make the
      	focus line width configurable. (#61079, #63074)
      
              * gtk/gtkwidget.c: Add style properties,
      	::focus-widget, ::focus-line-width, and ::focus-padding.
      
      	* gtk/gtkstyle.[ch]: Make gtk_paint_focus() take a
      	state argument as well so we can use fg[STATE] to
      	draw instead of always drawing with black.
      	Cange paint_focus() to respect GtkWidget::focus-width
      	and GtkWidget::focus-line-pattern. Fix continuity
      	problem where the default 1-1 stipple had a blob
      	in one corner and a gap in the other. Change the
      	interpretation of x/y/width/height to be the bounding
      	box of the focus rect instead of the rectangle
      	passed to gdk_draw_rectangle.
      
      	* gtk/gtkcheckbutton.c gtk/gtklistitem.c gtk/gtknotebook.c
      	gtk/gtkoptionmenu.c gtk/gtkradiobutton.c gtk/gtkspinbutton.c
      	gtk/gtktextview.c gtk/gtktreeview.c: Handle ::focus-width
      	and ::focus-line-padding.
      
      	* gtk/gtkentry.c: Handle :;focus-width property; cleanup
      	and remove duplicated code; fix drawing of focus rectangle
      	when interior-focus = FALSE. (#63072, #63073)
      
      	* gtk/gtkrange.c gtk/gtktext.c gtk/gtktreeitem.c
      	gtk/gtktreeviewcolumn.c: Basic fixups to make compile;
      	Range and TreeViewColumn will need more extensive fixing.
      
      	* gtk/gtkcolorsel.c: Honor focus line attributes when
      	drawing the focus on the color swatches. (#63071)
      
      	* gtk/gtkhsv.c: Honor focus line attributes when
      	drawing the focus for the ring and triangle.
      
      	* docs/widget_geometry.txt: Start at documenting how
      	various widgets are drawn.
      
      	* gtk/gtkbutton.c (_gtk_button_paint): Export
      	_gtk_button_paint() librarywide, so we don't have
      	duplicate a bunch of code in gtktogglebutton.c.
      
      	* gtk/gtktogglebutton.c: Use _gtk_button_paint().
      7537825b
  19. 15 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) · b27345fe
      Owen Taylor authored
      Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
       	gdk_window_invalidate_maybe_recurse() for recursion.
       	(Soeren Sandmann)
      
       	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
      
      	* gtk/gtkcontainer.c (gtk_container_expose): Call
      	gtk_container_forall() not _foreach() to propagate,
      	since we need to propagate exposes to internal children
      	as well.
      
      	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
      	Remove the restriction of only being able to call these
      	on window widgets, since we have lots of NO_WINDOW widgets
      	with windows now; for add events, recurse over the children
      	of widget->window to find one owned by the widget.
      
      	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
      	window to catch events.
      
      	* gtk/gtktogglebutton.[ch]: Remove the code for switching
      	between NO_WINDOW and WINDOW widgets based on the mode.
      
      	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
      	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
      
      	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
      
      	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
      	change for range.
      
      	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
      
      	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
      b27345fe
  20. 26 Oct, 2001 1 commit
  21. 27 Aug, 2001 1 commit
    • Alexander Larsson's avatar
      Add properties for labels, mnemonics and stock items. Added C accessor · f9e66624
      Alexander Larsson authored
      2001-08-26  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gtk/gtkbutton.[ch]:
      	Add properties for labels, mnemonics and stock items.
      	Added C accessor functions for the properties.
      	Removed deprecated button->child.
      
      	* gtk/gtkradiobutton.c:
      	* gtk/gtktogglebutton.c:
      	Update to use the functions in GtkButton.
      
      	* gtk/gtkcheckbutton.c:
      	Update to use the functions in GtkButton.
      	Changed size allocation of child. Now only gets as much
      	space as it requests.
      
      	* gtk/gtkclist.c:
      	Don't use GtkButton->child
      
      	* gtk/gtklabel.c:
      	Fixed typo in docs
      f9e66624
  22. 25 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Add optional movement on push to buttons (based on patch from Soeren · b94e6c0a
      Owen Taylor authored
      Sat Aug 25 19:02:39 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkbutton.[ch] gtk/gtktogglebutton.c: Add optional movement
              on push to buttons (based on patch from Soeren Sandmann, #54720)
      
                - Add child_displacement_x/y style properties to control how far the
                  child moves when the button is depressed.
      
                - Add non-exported function _gtk_button_set_depressed to clean
                  up the handling of the in/out shadow and separate it frmo
                  widget->state.
      
                - Lots of code cleanup and simplification of state handling
                  for GtkButton/GtkToggleButton.
      
              * tests/testgtkrc: Set the x/y displacement to 1 to provide a test
              of button movement. testgtk + testgtkrc == test ugly GTK+, as always.
      b94e6c0a
  23. 23 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      Apply property patch from Lee Mallabone · dc0cd67d
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkhandlebox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkbox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkcheckmenuitem.c: Apply property patch from Lee Mallabone,
      	and deprecated gtk_check_menu_item_set_show_toggle().
      
      	* gtk/gtkbutton.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkfilesel.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkframe.c: Apply property patch from Lee Mallabone
      dc0cd67d
  24. 21 Mar, 2001 1 commit
    • Alexander Larsson's avatar
      Renamed gtk_button_new_stock() to gtk_button_new_from_stock() and removed · de5eafed
      Alexander Larsson authored
      2001-03-21  Alexander Larsson  <alexl@redhat.com>
      
              * gtk/gtkbutton.[ch]:
      	* gtk/gtkdialog.c:
      	Renamed gtk_button_new_stock() to gtk_button_new_from_stock() and
      	removed accel_group argument. Renamed gtk_button_new_accel() to
      	gtk_button_new_with_mnemonic() and removed accel_group argument.
      
      	* gtk/gtkcheckbutton.[ch]:
      	New function gtk_check_button_new_with_mnemonic().
      
      	* gtk/gtkentry.c:
      	Override activate_mnemonic and just grab focus.
      
      	* gtk/gtkitemfactory.c:
      	Don't add menu uline accel group, instead use mnemonics support.
      
      	* gtk/gtklabel.[ch]:
      	New support for mnemonics.
      
      	* gtk/gtkmarshal.list:
      	Needed BOOLEAN:BOOLEAN for activate_mnemonic.
      
      	* gtk/gtkmenu.[c]:
      	* gtkmenushell.c:
      	Use mnemonics instead of accel groups for uline
      	support in menu items.
      	Removed gtk_menu_get_uline_accel_group() and
      	gtk_menu_ensure_uline_accel_group().
      
      	* gtk/gtkmenuitem.c:
      	Override activate_mnemonic to handle switching between
      	menu items if there are collisions.
      
      	* gtk/gtknotebook.c:
      	Connect to activate_mnemonic on the tab_label, so that
      	activating it switches to that notebook page.
      
      	* gtk/gtkwidget.[ch]:
      	Add activate_mnemonic signal. New function
      	gtk_widget_activate_mnemonic() to emit it.
      	Default implementation does activate/grab_focus.
      
      	* gtk/gtkwindow.[ch]:
      	Add support for mnemonics in windows.
      	New functions:
      	gtk_window_add_mnemonic, gtk_window_remove_mnemonic,
      	gtk_window_activate_mnemonic, gtk_window_set_mnemonic_modifier
      
      	* gtk/testgtk.c:
      	Update to function name changes.
      de5eafed
  25. 06 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Add animation of activation by, on activate, pressing the button, and · 71aa1161
      Owen Taylor authored
      Tue Mar  6 10:45:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbutton.c: Add animation of activation by, on
      	activate, pressing the button, and adding a timeout that
      	releases the button after 250ms	or on key release and
      	emits ::clicked. (#51501)
      
      	* gtk/gtkdialog.c: Bit of a hack - for buttons in the
      	action area, we connect to ::clicked instead of ::activate
      	so the dialog stays up through the animation.
      
      Mon Mar  5 16:38:15 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): Only
      	check the ignore_enter flag for the menu shell that
      	the item is actually a child of, not for attached
      	submenus. (#51536)
      71aa1161
  26. 26 Sep, 2000 1 commit
    • Havoc Pennington's avatar
      Move more text widget headers into the private header list · e8597130
      Havoc Pennington authored
      2000-09-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
      	headers	into the private header list
      
      	* Makefile.am (pkgconfig_DATA): install pkg-config files
      
      	* configure.in: add pkg-config files
      
      	* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files
      
      	* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
      	outstanding icon caches on theme change.
      
      	* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
      	important types:
      
      	(GtkIconSource): Specification for creating a pixbuf
      	appropriate for a direction/state/size triplet from
      	a source pixbuf or filename
      
      	(GtkIconSet): List of GtkIconSource objects that are used to
      	create the "same" icon (e.g. an OK button icon), and cache for
      	rendered icons
      
      	(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
      	up the icon set for a given stock ID.  GTK maintains a stack of
      	GtkIconFactory to search, and applications or libraries can add
      	additional icon factories on top of the stack
      
              * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
      	the set of GtkIconSource specified for a given stock ID into
      	a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
      	RcStyle, under the specified stock ID.
      
      	* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
      	render_icon used to derive a GdkPixbuf from a GtkIconSource.
      	This allows people to theme how prelight, insensitive, etc. are
      	done.
      
      	(gtk_style_lookup_icon_set): Look up a stock ID in the list of
      	icon factories for a style, and return the resulting
      	icon set if any.
      
      	(gtk_style_render_icon): Render an icon using the render_icon
      	method in the GtkStyleClass.
      
      	* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
      	Use the style for a given widget to look up a stock ID, get the
      	icon set, and render an icon using the render_icon method
      	of the style
      
      	* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
      	(contains information about a stock item), the built-in stock item
      	IDs, and functions to add/lookup stock items.
      
      	* gtk/stock-icons/*: Stock icons that come with GTK
      
      	* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
      	a button based on a GtkStockItem
      	(gtk_button_new_accel): Takes a uline string and accel group, and
      	installs the accelerator.
      
      	* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
      	image-display widget.
      e8597130
  27. 30 Aug, 2000 1 commit
  28. 26 Jul, 2000 1 commit
  29. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
              * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
              * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
              * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
              parameters given and cursor->ref_count. coding style fixups.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  30. 24 Feb, 1999 1 commit
  31. 19 Dec, 1998 1 commit
  32. 17 Dec, 1998 1 commit
  33. 07 Oct, 1998 1 commit
    • Tim Janik's avatar
      removed all occourances of #pragma } and #pragma { which were in place to · 3322a264
      Tim Janik authored
      Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtk*.h:
              * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
              which were in place to fixup emacs' cc-mode indentation.
              putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
              proper way to achive this and doesn't produce problems for
              stupid pragma-related compiler bugs. ;)
      3322a264
  34. 07 Jul, 1998 1 commit
    • Tim Janik's avatar
      totaly binary incomnpatible change: · 88fba9f8
      Tim Janik authored
      
      Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbutton.h:
              * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
              GTK_BIN (button)->child to button->child to keep source compatibility.
      
              * gtk/gtkoptionmenu.c:
              * gtk/gtkclist.c:
              * gtkcheckbutton.c: don't refer to button->child, but
              GTK_BIN (button)->child instead.
      88fba9f8
  35. 12 May, 1998 1 commit
    • Owen Taylor's avatar
      (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch) · c9e78a10
      Owen Taylor authored
      Tue May 12 16:54:15 1998  Owen Taylor  <otaylor@gtk.org>
      	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
      
      	* glib.h gstring.c gmessages.c: Added some missing
      	const to arguments.
      
      	* gutils.c (g_strsignal.c): Added missing return statements.
      
      Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
      	(James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
      
      	* gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
      	Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
      
      	* gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
      
      Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
      	(From: Christopher James Lahey <clahey@umich.edu>)
      
      	* gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
      	  gtk/testgtk.c:
      
      	Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
      	(old style), or GTK_RELIEF_NONE - no relief in the NORMAL
      	state. Added gtk_toolbar_{set,get}_button_relief, which set/get
      	the default relief for the toolbars buttons. Added an
      	toggle for the toolbar test in testgtk.c.
      c9e78a10
  36. 06 May, 1998 1 commit
    • Tim Janik's avatar
      reimplemented the signal storage system to use a linear array rather than · 518a8a9c
      Tim Janik authored
      Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c: reimplemented the signal storage system to use a
              linear array rather than a hash table.
              be carefull *not* to keep any GtkSignal pointers across invokations
              of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
              general code cleanups, made all allocations through memchunks.
              (gtk_signal_lookup): we now do the lookup of signals through a key_id
              for the signal names to avoid multiple hashing of the signal name on
              lookups for the several hirarchy levels of an object.
      
      Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
              checking for signal initialization in gtksignal.c.
      
              * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
              a long debugging period ;)
      
      Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
              gtk_type_is_a().
              * gtk/gtktypeutils.c: reimplemented the type storage system to use a
              linear array rather than a hash table. it actually speeded up testgtk
              for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
              pointers across invokations of gtk_type_node_next_and_invalidate() and
              therefore gtk_type_unique()!
      
              * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
              inheritance of a class pointer.
              (GTK_OBJECT): modifications for speedups.
              (GTK_IS_OBJECT): likewise.
              (GTK_OBJECT_CLASS): likewise.
              (suggested by owen).
      
              * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
      
              * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
      
              * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
              since its derivation changed 4 month ago ;(. showed up with the unique
              type name checking code in gtk_type_unique().
      
              * random guint->GtkType and macro fixups.
      518a8a9c