ekiga r7356 - in trunk: . lib/gmref
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7356 - in trunk: . lib/gmref
- Date: Sat, 15 Nov 2008 14:55:44 +0000 (UTC)
Author: jpuydt
Date: Sat Nov 15 14:55:44 2008
New Revision: 7356
URL: http://svn.gnome.org/viewvc/ekiga?rev=7356&view=rev
Log:
ChangeLog entry and hiding the implementation really
Modified:
trunk/ChangeLog
trunk/lib/gmref/gmref.cpp
trunk/lib/gmref/gmref.h
Modified: trunk/lib/gmref/gmref.cpp
==============================================================================
--- trunk/lib/gmref/gmref.cpp (original)
+++ trunk/lib/gmref/gmref.cpp Sat Nov 15 14:55:44 2008
@@ -65,7 +65,7 @@
gmref_count (GmRefCounted* obj)
{
if (obj != 0)
- return obj->count;
+ return obj->refcount;
else
return -1;
}
Modified: trunk/lib/gmref/gmref.h
==============================================================================
--- trunk/lib/gmref/gmref.h (original)
+++ trunk/lib/gmref/gmref.h Sat Nov 15 14:55:44 2008
@@ -47,14 +47,12 @@
virtual ~GmRefCounted ()
{}
- int get_refcount ()
- { return refcount; }
-
private:
int refcount;
friend void gmref_inc (GmRefCounted* obj);
friend void gmref_dec (GmRefCounted* obj);
+ friend int gmref_count (GmRefCounted* obj);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]