diff --git a/modules/gui/gtk/gtk_callbacks.c b/modules/gui/gtk/gtk_callbacks.c index f974a44ec7..f016fc1a53 100644 --- a/modules/gui/gtk/gtk_callbacks.c +++ b/modules/gui/gtk/gtk_callbacks.c @@ -2,7 +2,7 @@ * gtk_callbacks.c : Callbacks for the Gtk+ plugin. ***************************************************************************** * Copyright (C) 2000, 2001 VideoLAN - * $Id: gtk_callbacks.c,v 1.10 2003/01/26 14:49:09 fenrir Exp $ + * $Id: gtk_callbacks.c,v 1.11 2003/01/31 10:54:07 sam Exp $ * * Authors: Samuel Hocevar * Stéphane Borel @@ -148,6 +148,11 @@ gboolean GtkFullscreen( GtkWidget *widget, intf_thread_t *p_intf = GtkGetIntf( widget ); vout_thread_t *p_vout; + if( p_intf->p_sys->p_input == NULL ) + { + return FALSE; + } + p_vout = vlc_object_find( p_intf->p_sys->p_input, VLC_OBJECT_VOUT, FIND_CHILD ); if( p_vout == NULL )