summaryrefslogtreecommitdiff
path: root/src/messagebox.cc
diff options
context:
space:
mode:
authordeva <deva>2005-04-05 11:22:05 +0000
committerdeva <deva>2005-04-05 11:22:05 +0000
commit55a7afdedc7cee2df9012f600dd51aff92ad1af3 (patch)
treedb6568a6aab7cfdec0d0afcb9bd7566939a4a318 /src/messagebox.cc
parent6f03a23e7876516d3ba011d23acf454138432654 (diff)
Added validity checking on the conf parser.
Added error object to conf parser. Cleaned up the configure.in script
Diffstat (limited to 'src/messagebox.cc')
-rw-r--r--src/messagebox.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messagebox.cc b/src/messagebox.cc
index fe5420f..63bbeee 100644
--- a/src/messagebox.cc
+++ b/src/messagebox.cc
@@ -22,7 +22,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-
+#include <config.h>
+#ifdef USE_GUI
#include "messagebox.h"
////////////////////////////////////////////////////////////////////////////////////////
@@ -184,3 +185,4 @@ void MessageBox::bno_clicked()
{
done(MSG_NO);
}
+#endif/*USE_GUI*/