glom r1963 - in trunk: . glom
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1963 - in trunk: . glom
- Date: Fri, 6 Mar 2009 11:38:27 +0000 (UTC)
Author: murrayc
Date: Fri Mar 6 11:38:27 2009
New Revision: 1963
URL: http://svn.gnome.org/viewvc/glom?rev=1963&view=rev
Log:
2009-03-06 Murray Cumming <murrayc murrayc com>
* glom/frame_glom.cc:
connection_request_password_and_choose_new_database_name(): Added an ifdef
to fix the client-only postgres build.
Modified:
trunk/ChangeLog
trunk/glom/frame_glom.cc
Modified: trunk/glom/frame_glom.cc
==============================================================================
--- trunk/glom/frame_glom.cc (original)
+++ trunk/glom/frame_glom.cc Fri Mar 6 11:38:27 2009
@@ -1904,6 +1904,8 @@
document->set_connection_server(central->get_host());
}
+
+ #ifndef GLOM_ENABLE_CLIENT_ONLY
// Remember port if the document is self-hosted, so that remote
// connections to the database (usinc browse network) know what port to use.
// TODO: There is already similar code in
@@ -1918,7 +1920,9 @@
document->set_connection_port(self->get_port());
}
- #endif //sGLOM_ENABLE_POSTGRESQL
+ #endif //GLOM_ENABLE_CLIENT_ONLY
+
+ #endif //GLOM_ENABLE_POSTGRESQL
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]