[glom] Remove useless old GLIBMM_PROPERTIES_ENABLED.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Remove useless old GLIBMM_PROPERTIES_ENABLED.
- Date: Thu, 5 Nov 2015 22:21:36 +0000 (UTC)
commit c5e04f025b3c853938302a4c9060579ada0eb0ea
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Nov 3 18:14:32 2015 +0100
Remove useless old GLIBMM_PROPERTIES_ENABLED.
.../eggspreadtablemm/eggspreadtablemm.cc | 14 --------------
.../eggspreadtablemm/eggspreadtablemm.h | 14 --------------
2 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.cc
b/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.cc
index b8862ce..3958a30 100644
--- a/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.cc
+++ b/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.cc
@@ -182,48 +182,34 @@ guint SpreadTable::get_horizontal_spacing() const
return egg_spread_table_get_horizontal_spacing(const_cast<EggSpreadTable*>(gobj()));
}
-
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<guint> SpreadTable::property_vertical_spacing()
{
return Glib::PropertyProxy<guint>(this, "vertical-spacing");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<guint> SpreadTable::property_vertical_spacing() const
{
return Glib::PropertyProxy_ReadOnly<guint>(this, "vertical-spacing");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<guint> SpreadTable::property_horizontal_spacing()
{
return Glib::PropertyProxy<guint>(this, "horizontal-spacing");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<guint> SpreadTable::property_horizontal_spacing() const
{
return Glib::PropertyProxy_ReadOnly<guint>(this, "horizontal-spacing");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<guint> SpreadTable::property_lines()
{
return Glib::PropertyProxy<guint>(this, "lines");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<guint> SpreadTable::property_lines() const
{
return Glib::PropertyProxy_ReadOnly<guint>(this, "lines");
}
-#endif //GLIBMM_PROPERTIES_ENABLED
-
} // namespace Egg
diff --git a/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.h
b/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.h
index 7f2481a..889446f 100644
--- a/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.h
+++ b/glom/utility_widgets/eggspreadtablemm/eggspreadtablemm.h
@@ -120,7 +120,6 @@ public:
//TODO: Documentation
void append_child(Widget& widget);
- #ifdef GLIBMM_PROPERTIES_ENABLED
/** The amount of vertical space between two children.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -128,9 +127,7 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy<guint> property_vertical_spacing() ;
-#endif //#GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
/** The amount of vertical space between two children.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -138,9 +135,7 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly<guint> property_vertical_spacing() const;
-#endif //#GLIBMM_PROPERTIES_ENABLED
- #ifdef GLIBMM_PROPERTIES_ENABLED
/** The amount of horizontal space between two children.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -148,9 +143,7 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy<guint> property_horizontal_spacing() ;
-#endif //#GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
/** The amount of horizontal space between two children.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -158,9 +151,7 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly<guint> property_horizontal_spacing() const;
-#endif //#GLIBMM_PROPERTIES_ENABLED
- #ifdef GLIBMM_PROPERTIES_ENABLED
/** The number of lines (rows/columns) to evenly distribute children to.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -168,9 +159,7 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy<guint> property_lines() ;
-#endif //#GLIBMM_PROPERTIES_ENABLED
-#ifdef GLIBMM_PROPERTIES_ENABLED
/** The number of lines (rows/columns) to evenly distribute children to.
*
* You rarely need to use properties because there are get_ and set_ methods for almost all of them.
@@ -178,9 +167,6 @@ public:
* the value of the property changes.
*/
Glib::PropertyProxy_ReadOnly<guint> property_lines() const;
-#endif //#GLIBMM_PROPERTIES_ENABLED
-
-
};
} // namespace Egg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]