diff options
author | Tim Janik <timj@gtk.org> | 1998-12-02 03:40:03 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-12-02 03:40:03 +0000 |
commit | 0d15bc6687e9a9718273a37b3d880f6526fa91ce (patch) | |
tree | a81db6a4b796eccad75dc6b9f0ba04cb664ddebc /gtk/gtkobject.c | |
parent | 4ebc61c067af80a3cd24f1cfd79ec6b6be80e350 (diff) | |
download | gtk+-0d15bc6687e9a9718273a37b3d880f6526fa91ce.tar.gz |
s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.
Wed Dec 2 01:39:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtknotebook.h:
* gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.
* incremented version number to 1.1.6 and made Gtk
dependant on GLib 1.1.6.
* gtk/gtkwidget.h (struct _GtkRequisition): changed width and height
from guint16 to gint16, since sizes bigger than 32767 are not supported
anyways, and aritmethics with intermediate negative values are possible
now.
Tue Dec 1 00:00:04 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c:
implementation of GTK_POLICY_NEVER functionality, added rationales
on the policy and size requisition handling at the top.
(gtk_scrolled_window_size_request):
we assume a default minimum for our child's width and height
if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user
specified the dimension explicitely.
(gtk_scrolled_window_size_allocate):
do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER.
* gtk/gtkviewport.c (gtk_viewport_size_request): report the real
size we require (including the child).
* gtk/gtkclist.c:
(gtk_clist_size_request): report the real size required.
* gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER.
* gtk/gtkobject.c (gtk_object_init_type): object_type doesn't
need to be a static variable.
Mon Nov 30 22:41:25 1998 Tim Janik <timj@gtk.org>
* gtk/gtkclist.h:
* gtk/gtkclist.c:
* gtk/gtkviewport.h:
* gtk/gtkviewport.c:
* gtk/gtktext.h:
* gtk/gtktext.c:
* gtk/gtklayout.h:
* gtk/gtklayout.c:
* gtk/gtkwidget.h:
* gtk/gtkwidget.c:
* gtk/gtkscrolledwindow.h:
* gtk/gtkscrolledwindow.c:
s/scroll_adjustements/scroll_adjustments/
s/scroll_adjustments/set_scroll_adjustments/g
Diffstat (limited to 'gtk/gtkobject.c')
-rw-r--r-- | gtk/gtkobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c index aacdbfd12b..dfa8f0c29c 100644 --- a/gtk/gtkobject.c +++ b/gtk/gtkobject.c @@ -96,7 +96,6 @@ gtk_object_debug (void) void gtk_object_init_type (void) { - static GtkType object_type = 0; static const GtkTypeInfo object_info = { "GtkObject", @@ -108,6 +107,7 @@ gtk_object_init_type (void) /* reserved_2 */ NULL, (GtkClassInitFunc) gtk_object_base_class_init, }; + GtkType object_type; object_type = gtk_type_unique (0, &object_info); g_assert (object_type == GTK_TYPE_OBJECT); |