Re: GtkDialogFlags problem
- From: Havoc Pennington <hp redhat com>
- To: Jeff Franks <jcf tpg com au>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkDialogFlags problem
- Date: 30 Dec 2001 22:46:31 -0500
Jeff Franks <jcf tpg com au> writes:
>
> I was wondering about the following line of code that appears in the
> static gtk_dialog_new_empty function:
>
> if (flags & GTK_DIALOG_MODAL)
> gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
>
> Since GTK_DIALOG_MODAL has a value of zero in the GtkDialogFlags enum
> doesn't 'flags & GTK_DIALOG_MODAL' always evaluate to FALSE.
>
Yeah, that enum is impressively broken. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]