return instead of using an assertion (Closes: #307149).

This commit is contained in:
Sebastien Bacher 2005-06-12 13:09:44 +00:00
parent fc8728e747
commit efdc3f1cfe
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-06-12 Sebastien Bacher <seb128@debian.org>
* gnome-settings-daemon.c: (clipboard_manager_watch_cb):
return instead of using an assertion (Closes: #307149).
2005-06-12 Christophe Fergeau <teuf@gnome.org> 2005-06-12 Christophe Fergeau <teuf@gnome.org>
* actions/acme-volume-gstreamer.c: * actions/acme-volume-gstreamer.c:

View file

@ -180,7 +180,8 @@ clipboard_manager_watch_cb (Window window,
} }
else else
{ {
g_assert (gdkwin); if (!gdkwin)
return;
gdk_window_remove_filter (gdkwin, clipboard_manager_event_filter, NULL); gdk_window_remove_filter (gdkwin, clipboard_manager_event_filter, NULL);
g_object_unref (gdkwin); g_object_unref (gdkwin);
} }