[cairo-commit] roadster/src directionswindow.c, NONE, 1.1 directionswindow.h, NONE, 1.1 mainwindow.c, 1.51, 1.52

Ian McIntosh commit at pdx.freedesktop.org
Tue Oct 11 20:56:46 PDT 2005


Committed by: ian

Update of /cvs/cairo/roadster/src
In directory gabe:/tmp/cvs-serv27378/src

Modified Files:
	mainwindow.c 
Added Files:
	directionswindow.c directionswindow.h 
Log Message:
	* src/directionswindow.c: 
	* src/directionswindow.h: Added.


--- NEW FILE: directionswindow.c ---
/***************************************************************************
 *            directionswindow.c
 *
 *  Copyright  2005  Ian McIntosh
 *  ian_mcintosh at 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



--- NEW FILE: directionswindow.h ---


Index: mainwindow.c
===================================================================
RCS file: /cvs/cairo/roadster/src/mainwindow.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- mainwindow.c	11 Oct 2005 23:28:45 -0000	1.51
+++ mainwindow.c	12 Oct 2005 03:56:44 -0000	1.52
@@ -451,6 +451,7 @@
 
 	// 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),



More information about the cairo-commit mailing list