Re: GtkDialogFlags problem
- From: Jeff Franks <jcf tpg com au>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkDialogFlags problem
- Date: Tue, 01 Jan 2002 09:43:57 +1100
Havoc Pennington wrote:
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
.
Is the GTK_DIALOG_MODAL flag really necessary when the gtk_dialog_run()
function does it all for you for free.
Jeff.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]