Re: null parameter warning issue.

2001-07-25 Thread David Robin
hi, Here comes the feedback! Jean-Christophe, your solution is working fine. Thanks. John, i first tried NULL parameters as described in the API documentation, but gcc didn't like it (maybe because i use C++\GTK+). That's why I felt i had to ask the mailing-list. Thanks anyway. Sincerly, David

Re: null parameter warning issue.

2001-07-25 Thread John Cupitt
David Robin wrote: > gtk_menu_popup( > GTK_MENU (context_menu), > GTK_WIDGET (NULL), // GtkWidget > *parent_menu_shell, > GTK_WIDGET (NULL), // GtkWidget > *parent_menu_item, > GTK_SIGNAL_FUNC(NULL), // not r

Re: null parameter warning issue.

2001-07-25 Thread Jean-Christophe Berthon
in" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 12:17 PM Subject: null parameter warning issue. > hi everyone, > > when i use this piece of code: > > gtk_menu_popup( > GTK_MENU (context_menu), >

null parameter warning issue.

2001-07-25 Thread David Robin
hi everyone, when i use this piece of code: gtk_menu_popup( GTK_MENU (context_menu), GTK_WIDGET (NULL), // GtkWidget *parent_menu_shell, GTK_WIDGET (NULL), // GtkWidget *parent_menu_item, GTK_SIGNAL_FUNC(NUL