[glom: 11/12] Fixed main build after merging from the maemo5 branch.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glom: 11/12] Fixed main build after merging from the maemo5 branch.
- Date: Fri, 16 Oct 2009 09:39:01 +0000 (UTC)
commit f4881b9927a71d471f3d55d7212f884f0530e6d0
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Oct 16 11:20:59 2009 +0200
Fixed main build after merging from the maemo5 branch.
glom/mode_data/box_data_portal.cc | 2 ++
glom/mode_data/notebook_data.cc | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glom/mode_data/box_data_portal.cc b/glom/mode_data/box_data_portal.cc
index ff2fc95..b9e0406 100644
--- a/glom/mode_data/box_data_portal.cc
+++ b/glom/mode_data/box_data_portal.cc
@@ -75,6 +75,7 @@ Box_Data_Portal::Box_Data_Portal()
Box_Data_Portal::~Box_Data_Portal()
{
+ #ifdef GLOM_ENABLE_MAEMO
if(m_window_maemo_details)
delete m_window_maemo_details;
@@ -83,6 +84,7 @@ Box_Data_Portal::~Box_Data_Portal()
remove_view(m_box_maemo_details);
delete m_box_maemo_details;
}
+ #endif //GLOM_ENABLE_MAEMO
}
void Box_Data_Portal::make_record_related(const Gnome::Gda::Value& related_record_primary_key_value)
diff --git a/glom/mode_data/notebook_data.cc b/glom/mode_data/notebook_data.cc
index 1b451fe..4547e5f 100644
--- a/glom/mode_data/notebook_data.cc
+++ b/glom/mode_data/notebook_data.cc
@@ -388,10 +388,12 @@ void Notebook_Data::get_record_counts(gulong& total, gulong& found)
m_Box_List.get_record_counts(total, found);
}
+#ifdef GLOM_ENABLE_MAEMO
void Notebook_Data::do_menu_file_add_record()
{
show_details(Gnome::Gda::Value());
m_Box_Details.do_new_record();
}
+#endif //GLOM_ENABLE_MAEMO
} //namespace Glom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]