diff options
author | kmaraas <kmaraas@e2bd861d-eb25-0410-b326-f6ed22b6b98c> | 2004-09-29 23:44:31 +0000 |
---|---|---|
committer | kmaraas <kmaraas@e2bd861d-eb25-0410-b326-f6ed22b6b98c> | 2004-09-29 23:44:31 +0000 |
commit | 501a77e981f3177d3d5951e96246a45a4436c3ea (patch) | |
tree | 391c710a33ceee88b23b06c05e70f2b3039d396d /test | |
parent | d84fc37ef0d2c3b54b8a4cc801e3294520cba051 (diff) | |
download | at-spi2-core-501a77e981f3177d3d5951e96246a45a4436c3ea.tar.gz |
2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
* libspi/accessible.c:
(impl_accessibility_accessible_get_role_name),
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@711 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'test')
-rw-r--r-- | test/event-listener-test.c | 2 | ||||
-rw-r--r-- | test/keysynth-demo.c | 4 | ||||
-rw-r--r-- | test/keysynth-test.c | 2 | ||||
-rw-r--r-- | test/login-helper-server-test.c | 2 | ||||
-rw-r--r-- | test/screen-review-test.c | 4 | ||||
-rw-r--r-- | test/simple-at.c | 6 |
6 files changed, 10 insertions, 10 deletions
diff --git a/test/event-listener-test.c b/test/event-listener-test.c index a6b7a930..d66d8b2d 100644 --- a/test/event-listener-test.c +++ b/test/event-listener-test.c @@ -569,7 +569,7 @@ timing_test_event (const AccessibleEvent *event, void *user_data) } void -test_exit () +test_exit (void) { SPI_deregisterGlobalEventListenerAll (generic_listener); AccessibleEventListener_unref (generic_listener); diff --git a/test/keysynth-demo.c b/test/keysynth-demo.c index 9e7bb6a5..5f6b6f77 100644 --- a/test/keysynth-demo.c +++ b/test/keysynth-demo.c @@ -129,7 +129,7 @@ select_line (gint lineno) static ScanState* -scan_state () +scan_state (void) { static ScanState state = {SCAN_IDLE, 0, 0}; return &state; @@ -382,7 +382,7 @@ synth_keycode (GtkButton *button, KeyCode *keycode) } static void -create_vkbd() +create_vkbd(void) { GtkWidget *window, *container, *hbox; int i, j; diff --git a/test/keysynth-test.c b/test/keysynth-test.c index d77eefa4..78d59bc5 100644 --- a/test/keysynth-test.c +++ b/test/keysynth-test.c @@ -46,7 +46,7 @@ static TextTest text[] = { }; static void -test_key_synthesis () +test_key_synthesis (void) { int i; for (i = 0; i < G_N_ELEMENTS (text); ++i) { diff --git a/test/login-helper-server-test.c b/test/login-helper-server-test.c index 2e2c2d35..ba6a2748 100644 --- a/test/login-helper-server-test.c +++ b/test/login-helper-server-test.c @@ -70,7 +70,7 @@ main (int argc, char **argv) /* this is a testing hack - we are changing the LoginHelperClass's vpointers here */ - test_init_login_helper_vpointers (helper, test_set_safe, test_get_device_reqs, test_get_raise_windows); + test_init_login_helper_vpointers ((LoginHelper*)helper, test_set_safe, test_get_device_reqs, test_get_raise_windows); bonobo_main (); } diff --git a/test/screen-review-test.c b/test/screen-review-test.c index abc916d5..a2d72825 100644 --- a/test/screen-review-test.c +++ b/test/screen-review-test.c @@ -22,7 +22,7 @@ */ #include <stdio.h> -#include <strings.h> +#include <string.h> #include <stdlib.h> #include "../cspi/spi-private.h" @@ -1128,7 +1128,7 @@ report_screen_review_line (const AccessibleEvent *event, void *user_data) } void -test_exit () +test_exit (void) { SPI_deregisterGlobalEventListenerAll (mouseclick_listener); AccessibleEventListener_unref (mouseclick_listener); diff --git a/test/simple-at.c b/test/simple-at.c index a5b39f7b..8343c31d 100644 --- a/test/simple-at.c +++ b/test/simple-at.c @@ -43,7 +43,7 @@ static SPIBoolean report_command_key_event (const AccessibleKeystroke *stroke, static SPIBoolean report_ordinary_key_event (const AccessibleKeystroke *stroke, void *user_data); static void get_environment_vars (void); -static int _festival_init (); +static int _festival_init (void); static void _festival_say (const char *text, const char *voice, SPIBoolean shutup); static void _festival_write (const char *buff, int fd); @@ -452,7 +452,7 @@ check_property_change (const AccessibleEvent *event, void *user_data) } static void -simple_at_exit () +simple_at_exit (void) { SPI_deregisterGlobalEventListenerAll (focus_listener); AccessibleEventListener_unref (focus_listener); @@ -532,7 +532,7 @@ report_ordinary_key_event (const AccessibleKeystroke *key, void *user_data) } static int -_festival_init () +_festival_init (void) { int fd; struct sockaddr_in name; |