Re: Missing define
- From: Paolo Maggi <paolo maggi polito it>
- To: Ahmad Baitalmal <ahmad bitbuilder com>
- Cc: Gnome-Devtools <gnome-devtools gnome org>
- Subject: Re: Missing define
- Date: 13 May 2003 11:02:28 +0200
> I guess, this is what I'm looking for:
> GType
> gtk_source_tag_style_mask_get_type (void)
> {
> static GType etype = 0;
> if (etype == 0) {
> static const GFlagsValue values[] = {
> { GTK_SOURCE_TAG_STYLE_USE_BACKGROUND,
> "GTK_SOURCE_TAG_STYLE_USE_BACKGROUND", "background" },
> { GTK_SOURCE_TAG_STYLE_USE_FOREGROUND,
> "GTK_SOURCE_TAG_STYLE_USE_FOREGROUND", "foreground" },
> { 0, NULL, NULL }
> };
> etype = g_flags_register_static ("GtkSourceTagStyleMask", values);
> }
> return etype;
> }
>
> Can that go into gtksourcetagstyle.c please. Or if I'm mistaken please
> let me know.
> Thank you,
Yep, we should add it.
Probably we should generate gtksourceviewtypebuiltins.[ch] files with
glib_mkenums. Gustavo: what do you think?
Ciao,
Paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]