* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
+/*
+ * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#include "gtkscrollbar.h"
static void gtk_scrollbar_class_init (GtkScrollbarClass *klass);
static void gtk_scrollbar_init (GtkScrollbar *scrollbar);
-guint
+GtkType
gtk_scrollbar_get_type (void)
{
- static guint scrollbar_type = 0;
+ static GtkType scrollbar_type = 0;
if (!scrollbar_type)
{
- GtkTypeInfo scrollbar_info =
+ static const GtkTypeInfo scrollbar_info =
{
"GtkScrollbar",
sizeof (GtkScrollbar),
sizeof (GtkScrollbarClass),
(GtkClassInitFunc) gtk_scrollbar_class_init,
(GtkObjectInitFunc) gtk_scrollbar_init,
- (GtkArgSetFunc) NULL,
- (GtkArgGetFunc) NULL,
+ /* reserved_1 */ NULL,
+ /* reserved_2 */ NULL,
+ (GtkClassInitFunc) NULL,
};
- scrollbar_type = gtk_type_unique (gtk_range_get_type (), &scrollbar_info);
+ scrollbar_type = gtk_type_unique (GTK_TYPE_RANGE, &scrollbar_info);
}
return scrollbar_type;