aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/empathy-debug-window.c2
-rw-r--r--src/empathy-main-window.c2
2 files changed, 2 insertions, 2 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));
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index a2f9dde13..6d26dec5b 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1065,7 +1065,7 @@ static void
main_window_help_debug_cb (GtkAction *action,
EmpathyMainWindow *window)
{
- empathy_debug_window_new (GTK_WINDOW (window->window));
+ empathy_debug_window_new (NULL);
}
static void