[niepce] Use the "get_proxy()" directly for the RW property.



commit 8fea2055f8c81462456659e5ee787ee83048c74b
Author: Hubert Figuière <hub figuiere net>
Date:   Tue Jun 18 19:24:12 2013 -0400

    Use the "get_proxy()" directly for the RW property.

 src/niepce/ui/librarycellrenderer.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/niepce/ui/librarycellrenderer.cpp b/src/niepce/ui/librarycellrenderer.cpp
index 093ae34..6777c79 100644
--- a/src/niepce/ui/librarycellrenderer.cpp
+++ b/src/niepce/ui/librarycellrenderer.cpp
@@ -338,17 +338,17 @@ LibraryCellRenderer::activate_vfunc(GdkEvent *event, Gtk::Widget & ,
     return false;
 }
 
-Glib::PropertyProxy_ReadOnly<eng::LibFile::Ptr>        
+Glib::PropertyProxy_ReadOnly<eng::LibFile::Ptr>
 LibraryCellRenderer::property_libfile() const
 {
     return Glib::PropertyProxy_ReadOnly<eng::LibFile::Ptr>(this, "libfile");
 }
 
 
-Glib::PropertyProxy<eng::LibFile::Ptr>         
+Glib::PropertyProxy<eng::LibFile::Ptr>
 LibraryCellRenderer::property_libfile()
 {
-    return Glib::PropertyProxy<eng::LibFile::Ptr>(this, "libfile");
+    return m_libfileproperty.get_proxy();
 }
 
 


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