summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/menus.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-05-18 16:28:30 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-05-18 16:28:30 +0000
commit009212ad2854c815fd6fd202a4e53a23e877e96d (patch)
treeb42b8451b68733699a375c0a6417ac8eb56868b1 /demos/gtk-demo/menus.c
parent288ff7e0580f7fd87061922fbba41708168c9c6e (diff)
downloadgtk+-009212ad2854c815fd6fd202a4e53a23e877e96d.tar.gz
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. (-:
Diffstat (limited to 'demos/gtk-demo/menus.c')
-rw-r--r--demos/gtk-demo/menus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/gtk-demo/menus.c b/demos/gtk-demo/menus.c
index 4788edd861..cdc07e222f 100644
--- a/demos/gtk-demo/menus.c
+++ b/demos/gtk-demo/menus.c
@@ -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;
}
-