diff options
author | Tim Janik <timj@gtk.org> | 1998-07-16 02:47:15 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-07-16 02:47:15 +0000 |
commit | af24aef782056e52eb4d39c2880da648578c2728 (patch) | |
tree | 14e2d310c6aae8e7b23b1f343018e277665d1436 /gtk/gtkctree.h | |
parent | 8b9b7b9d04c1f11118f28a9ec7b4c65a7a3f967c (diff) | |
download | gtk+-af24aef782056e52eb4d39c2880da648578c2728.tar.gz |
handle negative values similar to gtk_widget_set_uposition(). that is:
Thu Jul 16 01:27:15 1998 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.h:
* gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
similar to gtk_widget_set_uposition(). that is: -1=unspecified,
-2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
to be gint16s rather than guint16s, since that's what the code expected
(for a long time actually).
* gtk/gtkviewport.c:
added support for object arguments: GtkViewport::shadow_type,
GtkViewport::vadjustment and GtkViewport::hadjustment.
(gtk_viewport_add): chain gtk_bin_add.
* gtk/gtkscrolledwindow.c:
added support for object argument: GtkScrolledWindow::hscrollbar_policy,
GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
* gtk/gtkadjustment.h:
* gtk/gtkadjustment.c:
* gtk/gtkctree.h:
* gtk/gtkclist.h:
* gtk/gtkctree.c:
* gtk/gtkclist.c:
* gtk/gtkscrolledwindow.h:
* gtk/gtkscrolledwindow.c:
* gtk/gtkviewport.h:
* gtk/gtkviewport.c:
GtkType and macro fixups.
Diffstat (limited to 'gtk/gtkctree.h')
-rw-r--r-- | gtk/gtkctree.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkctree.h b/gtk/gtkctree.h index d13f6ca1c4..58f2edab46 100644 --- a/gtk/gtkctree.h +++ b/gtk/gtkctree.h @@ -31,12 +31,12 @@ extern "C" { #endif /* __cplusplus */ -#define GTK_CTREE(obj) \ - (GTK_CHECK_CAST ((obj), gtk_ctree_get_type (), GtkCTree)) -#define GTK_CTREE_CLASS(klass) \ - (GTK_CHECK_CLASS_CAST ((klass), gtk_ctree_get_type (), GtkCTreeClass)) -#define GTK_IS_CTREE(obj) \ - (GTK_CHECK_TYPE ((obj), gtk_ctree_get_type ())) +#define GTK_TYPE_CTREE (gtk_ctree_get_type ()) +#define GTK_CTREE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CTREE, GtkCTree)) +#define GTK_CTREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CTREE, GtkCTreeClass)) +#define GTK_IS_CTREE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CTREE)) +#define GTK_IS_CTREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CTREE)) + #define GTK_CTREE_ROW(_glist_) ((GtkCTreeRow *)((_glist_)->data)) #define GTK_CTREE_TREE(_ctree_, _glist_) \ ((GtkCellTree *) &(((GtkCTreeRow *)((_glist_)->data))->cell[(_ctree_)->tree_col])) |