[empathy] return correct value in g_return_val_if_fail



commit b91ab973ed932fc95357a0531e8c548edacce215
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Mar 15 10:29:08 2010 +0100

    return correct value in g_return_val_if_fail

 libempathy-gtk/empathy-contact-selector-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-selector-dialog.c b/libempathy-gtk/empathy-contact-selector-dialog.c
index 11e4dd8..c09b25c 100644
--- a/libempathy-gtk/empathy-contact-selector-dialog.c
+++ b/libempathy-gtk/empathy-contact-selector-dialog.c
@@ -566,7 +566,7 @@ empathy_contact_selector_dialog_get_filter_account (
 {
   EmpathyContactSelectorDialogPriv *priv;
 
-  g_return_val_if_fail (EMPATHY_IS_CONTACT_SELECTOR_DIALOG (self), FALSE);
+  g_return_val_if_fail (EMPATHY_IS_CONTACT_SELECTOR_DIALOG (self), NULL);
 
   priv = GET_PRIV (self);
   return priv->filter_account;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]