Search
lxdream.org :: lxdream/src/gtkui/gtkui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.c
changeset 845:d6131bbe2219
prev839:51f1c4195790
next853:9a0aa8217a31
author nkeynes
date Sat Sep 06 08:10:55 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Check main window has been created when setting the grabability
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.c Tue Sep 02 03:34:00 2008 +0000
1.2 +++ b/src/gtkui/gtkui.c Sat Sep 06 08:10:55 2008 +0000
1.3 @@ -262,7 +262,9 @@
1.4
1.5 void gui_set_use_grab( gboolean flag )
1.6 {
1.7 - main_window_set_use_grab(main_win, TRUE);
1.8 + if( main_win != NULL ) {
1.9 + main_window_set_use_grab(main_win, TRUE);
1.10 + }
1.11 }
1.12
1.13 gboolean gui_error_dialog( const char *msg, ... )
.