It's the worlds ugliest highlighting code!!!! The result is okay so long

Thu May 17 16:20:04 2001  Jonathan Blandford  <jrb@redhat.com>

	* demos/gtk-demo/main.c (fontify): It's the worlds ugliest
	highlighting code!!!!  The result is okay so long as you don't try
	to stress it.  It also highlights a bug in the TextView so it's in
	an unproportional font right now until it's fixed.

	*demos/gtk-demo/*.c: Clean up code a bit to make it
	ugly-parser(TM) friendly. (-:
This commit is contained in:
Jonathan Blandford
2001-05-18 16:28:30 +00:00
committed by Jonathan Blandford
parent 288ff7e058
commit 009212ad28
18 changed files with 858 additions and 502 deletions

View File

@ -28,13 +28,14 @@
*
*/
#include <stdio.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
static GtkWidget*
create_menu (gint depth, gboolean tearoff)
#include <stdio.h>
static GtkWidget *
create_menu (gint depth,
gboolean tearoff)
{
GtkWidget *menu;
GtkWidget *menuitem;
@ -215,4 +216,3 @@ do_menus (void)
return window;
}