summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan McIntosh <ian_mcintosh@linuxadvocate.org>2005-10-11 22:56:44 +0000
committerIan McIntosh <ian_mcintosh@linuxadvocate.org>2005-10-11 22:56:44 +0000
commitf580683d5d23de6304d52728b8d2936dfce6ef6b (patch)
tree59478d5c4a97f868176bf1b130d48caaca094173
parentec7720937150fc89cb721e5553d98178d15a7c2a (diff)
Added.
-rw-r--r--ChangeLog5
-rw-r--r--src/directionswindow.c32
-rw-r--r--src/directionswindow.h1
-rw-r--r--src/mainwindow.c1
4 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7284b26..a0bc870 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-13 Ian McIntosh <ian_mcintosh@linuxadvocate.org>
+
+ * src/directionswindow.c:
+ * src/directionswindow.h: Added.
+
2005-10-12 Ian McIntosh <ian_mcintosh@linuxadvocate.org>
* src/test_poly.c: Add checkbox to hide original line.
diff --git a/src/directionswindow.c b/src/directionswindow.c
new file mode 100644
index 0000000..1f24c76
--- /dev/null
+++ b/src/directionswindow.c
@@ -0,0 +1,32 @@
+/***************************************************************************
+ * directionswindow.c
+ *
+ * Copyright 2005 Ian McIntosh
+ * ian_mcintosh@linuxadvocate.org
+ ****************************************************************************/
+
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#include <gtk/gtk.h>
+#include <glib-object.h>
+#include <glade/glade.h>
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
diff --git a/src/directionswindow.h b/src/directionswindow.h
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/directionswindow.h
@@ -0,0 +1 @@
+
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 8dc24a2..24e7126 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -451,6 +451,7 @@ void mainwindow_init(GladeXML* pGladeXML)
// Drawing area
g_MainWindow.pDrawingArea = GTK_DRAWING_AREA(gtk_drawing_area_new());
+ gtk_widget_set_double_buffered(GTK_WIDGET(g_MainWindow.pDrawingArea), FALSE);
// Pack drawing area into application window
gtk_box_pack_end(GTK_BOX(g_MainWindow.pContentBox), GTK_WIDGET(g_MainWindow.pDrawingArea),