diff options
Diffstat (limited to 'src/empathy-debug-dialog.c')
-rw-r--r-- | src/empathy-debug-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c index 802816e05..8c83d09c7 100644 --- a/src/empathy-debug-dialog.c +++ b/src/empathy-debug-dialog.c @@ -581,6 +581,8 @@ empathy_debug_dialog_class_init (EmpathyDebugDialogClass *klass) GtkWidget * empathy_debug_dialog_new (GtkWindow *parent) { + g_return_val_if_fail (GTK_IS_WINDOW (parent), NULL); + return GTK_WIDGET (g_object_new (EMPATHY_TYPE_DEBUG_DIALOG, "parent", parent, NULL)); } |