aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-04 19:53:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-04 19:54:34 +0800
commit583adbaf8dd535855e3f0ceb05234c38f9c6564b (patch)
tree25372301e827b7479c7e265456849a9d1c315668 /src/empathy-debug-window.c
parent4c0bd51ff00d5e1c2a93f7c617a246cd63cd9f14 (diff)
downloadgsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar.gz
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar.bz2
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar.lz
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar.xz
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.tar.zst
gsoc2013-empathy-583adbaf8dd535855e3f0ceb05234c38f9c6564b.zip
debug window shouldn't be transient
Diffstat (limited to 'src/empathy-debug-window.c')
-rw-r--r--src/empathy-debug-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 5a46e56e2..bca5d5c7c 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1439,7 +1439,7 @@ empathy_debug_window_class_init (EmpathyDebugWindowClass *klass)
GtkWidget *
empathy_debug_window_new (GtkWindow *parent)
{
- g_return_val_if_fail (GTK_IS_WINDOW (parent), NULL);
+ g_return_val_if_fail (parent == NULL || GTK_IS_WINDOW (parent), NULL);
return GTK_WIDGET (g_object_new (EMPATHY_TYPE_DEBUG_WINDOW,
"transient-for", parent, NULL));