[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Popup menu?



Matt Spong wrote:
> 
> Hi
> 
> I'm writing an app (PowerShell) where you can right click on a terminal
> and a popup menu comes up, and one of the options is to close the
> terminal.  The problem is that the terminal is apparently the popup menu's
> parent and when you click close, it closes fine, but prints this:
> 
> Gdk-CRITICAL **: file gdkwindow.c: line 1274 (gdk_window_set_cursor):
> assertion `window != NULL' failed.
> 
> I tried hiding the popup menu (using gtk_widget_hide) before I kill the
> terminal, but it still says this.  It doesn't seem to affect the program
> though.  How do I avoid this message?

this should have nothing to do with the popup menu in the first place, i
think.
i have closed my app over a poupmenu item severel times before and never
experenced difficulties like this. do you try to manipulate the cursor with
(gdk_window_set_cursor) after destroing the window?

clemens



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]