[ekiga] Notify: Fixed cast bug reported by Eugen.



commit 2c5de39a375d17ae4bc8d0cdef50f507803f5c37
Author: Damien Sandras <dsandras beip be>
Date:   Sun Apr 22 12:48:27 2012 +0200

    Notify: Fixed cast bug reported by Eugen.

 src/gui/notify.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/notify.cpp b/src/gui/notify.cpp
index ed26eee..be916d1 100644
--- a/src/gui/notify.cpp
+++ b/src/gui/notify.cpp
@@ -233,7 +233,7 @@ notify_has_actions (void)
       g_list_free (capabilities);
     }
   }
-  return accepts_actions;
+  return (accepts_actions > 0);
 }
 
 gboolean



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