Switch style of stamp file usage.

Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am: Switch style of stamp file usage.

        * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
        enumeration/fags TYPE variables over to macros for get_type() functions,
        for lazy definition and to get rid of expensive relocations.

        * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
        gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
        gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
        definitions over manually coded get_type() functions.

        * gtk/gtk.def: Updates for above

        * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
        Remove from CVS, no longer used.

        * configure.in: Remove checks for awk.
This commit is contained in:
Owen Taylor
2002-03-02 19:11:47 +00:00
committed by Owen Taylor
parent 36e686e6a7
commit f832e3484d
31 changed files with 453 additions and 711 deletions

View File

@ -1190,6 +1190,19 @@ gtk_icon_set_unref (GtkIconSet *icon_set)
}
}
GType
gtk_icon_set_get_type (void)
{
static GType our_type = 0;
if (our_type == 0)
our_type = g_boxed_type_register_static ("GtkTypeIconSet",
(GBoxedCopyFunc) gtk_icon_set_ref,
(GBoxedFreeFunc) gtk_icon_set_unref);
return our_type;
}
/**
* gtk_icon_set_copy:
* @icon_set: a #GtkIconSet
@ -1660,6 +1673,19 @@ gtk_icon_source_free (GtkIconSource *source)
g_free (source);
}
GType
gtk_icon_source_get_type (void)
{
static GType our_type = 0;
if (our_type == 0)
our_type = g_boxed_type_register_static ("GtkTypeIconSource",
(GBoxedCopyFunc) gtk_icon_source_copy,
(GBoxedFreeFunc) gtk_icon_source_free);
return our_type;
}
/**
* gtk_icon_source_set_filename:
* @source: a #GtkIconSource