Add registryd
[platform/core/uifw/at-spi2-atk.git] / test / accessx-gui.c
index 2ce035a..1ce91f0 100644 (file)
@@ -2,7 +2,8 @@
  * AT-SPI - Assistive Technology Service Provider Interface
  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
  *
- * Copyright 2001 Sun Microsystems Inc.
+ * Copyright 2001, 2002 Sun Microsystems Inc.,
+ * Copyright 2001, 2002 Ximian, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -20,6 +21,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
 #include <gtk/gtk.h>
@@ -621,7 +623,7 @@ timeout_box ()
 }
 
 static void
-create_gui ()
+create_gui (void)
 {
   GtkWidget *window, *button, *container, *hbox;
   
@@ -671,7 +673,7 @@ create_gui ()
 }
 
 static void
-create_gui_x ()
+create_gui_x (void)
 {
   GtkWidget *window, *button, *container, *hbox, *range;
   GtkAdjustment *adjustment;
@@ -686,8 +688,6 @@ create_gui_x ()
   controls[6] = control_struct_new (XkbMouseKeysAccelMask, &xkb->ctrls->mk_time_to_max, NULL, "Accel");
   controls[7] = control_struct_new (XkbAccessXTimeoutMask, &xkb->ctrls->ax_timeout, "AccessX timeout", "Sec");
   
-  
-  
   hbox = gtk_widget_new (gtk_hbox_get_type(),
                         "GtkWidget::parent", container,
                         "GtkWidget::visible", TRUE,