Re: Missing define
- From: Ahmad Baitalmal <ahmad bitbuilder com>
- To: Gnome-Devtools <gnome-devtools gnome org>
- Subject: Re: Missing define
- Date: 12 May 2003 12:38:56 -0700
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,
On Mon, 2003-05-12 at 11:35, Ahmad Baitalmal wrote:
> GType gtk_source_tag_style_mask_get_type (void);
> #define GTK_TYPE_SOURCE_TAG_STYLE_MASK
> (gtk_source_tag_style_mask_get_type())
>
> Could we please get that put somewhere, maybe gtksourcetagstyle.h?
> I need the enum mask type defined to wrap it correctly. I tried adding
> it manually in my override file, but I think there is more to it.
> May be gtk_source_tag_style_mask_get_type() gets defined as part of some
> macro.
>
> Thanks
> - - -- ---- ----------------------------------------- --- -- - -
> Ahmad Baitalmal
> BitBuilder
> web: http://www.bitbuilder.com
> - - -- ----
> -------------------------------------------------------------- --- --
> - -
>
> _______________________________________________
> gnome-devtools mailing list
> gnome-devtools gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devtools
- - -- ---- ----------------------------------------- --- -- - -
Ahmad Baitalmal
BitBuilder
web: http://www.bitbuilder.com
- - -- ----
-------------------------------------------------------------- --- --
- -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]