ekiga r6079 - in trunk: . lib/engine/presence/avahi



Author: jpuydt
Date: Fri Mar 21 12:02:46 2008
New Revision: 6079
URL: http://svn.gnome.org/viewvc/ekiga?rev=6079&view=rev

Log:
Fixed a warning in Avahi::Presentity


Modified:
   trunk/ChangeLog
   trunk/lib/engine/presence/avahi/avahi-presentity.cpp

Modified: trunk/lib/engine/presence/avahi/avahi-presentity.cpp
==============================================================================
--- trunk/lib/engine/presence/avahi/avahi-presentity.cpp	(original)
+++ trunk/lib/engine/presence/avahi/avahi-presentity.cpp	Fri Mar 21 12:02:46 2008
@@ -44,6 +44,7 @@
 			       std::string _url):
   core(_core), name(_name), url (_url)
 {
+  groups.insert (_("Neighbours"));
 }
 
 Avahi::Presentity::~Presentity ()
@@ -77,8 +78,6 @@
 const std::set<std::string>
 Avahi::Presentity::get_groups () const
 {
-  std::set<std::string> groups;
-  groups.insert (_("Neighbours"));
   return groups;
 }
 



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