diff options
author | Tim Janik <timj@src.gnome.org> | 2007-11-20 15:03:31 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2007-11-20 15:03:31 +0000 |
commit | 4f7a2da8e8f55b54732a46c4fec60753d15900d5 (patch) | |
tree | afc9830d48b9bdd1003b064e0dbfc47f8f2f0dd2 /gtk/gtktestutils.h | |
parent | 3cf208ef5e7dab5b8aafe794bfa15e1c4731cca8 (diff) | |
download | gtk+-4f7a2da8e8f55b54732a46c4fec60753d15900d5.tar.gz |
Moved Gdk test functions from Gtk+ to Gdk test utils.
* gdk/Makefile.am: added gdktestutils.h to public includes.
* gdk/gdk.h: added gdktestutils.h to public includes.
* gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
gdk_test_render_sync.
* gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gdk/x11/Makefile.am: build gdktestutils-x11.c.
* gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
gdk_test_simulate_key, gdk_test_render_sync.
* gtk/gtktestutils.c:
* gtk/gtktestutils.h:
* gtk/gtk.symbols: removed gtk_test_simulate_button
gtk_test_simulate_key, gtk_test_xserver_render_sync.
* gtk/tests/testing.c: call gdk_test_render_sync.
svn path=/trunk/; revision=19012
Diffstat (limited to 'gtk/gtktestutils.h')
-rw-r--r-- | gtk/gtktestutils.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gtk/gtktestutils.h b/gtk/gtktestutils.h index 3550ae949d..18781fea65 100644 --- a/gtk/gtktestutils.h +++ b/gtk/gtktestutils.h @@ -40,7 +40,6 @@ GtkWidget* gtk_test_create_simple_window (const gchar *window_title, GtkWidget* gtk_test_display_button_window (const gchar *window_title, const gchar *dialog_text, ...); /* NULL terminated list of (label, &int) pairs */ -void gtk_test_xserver_render_sync (GdkWindow *window); void gtk_test_slider_set_perc (GtkWidget *widget, /* GtkRange-alike */ double percentage); double gtk_test_slider_get_value (GtkWidget *widget); @@ -63,18 +62,6 @@ GtkWidget* gtk_test_find_sibling (GtkWidget *base_widget, GType widget_type); GtkWidget* gtk_test_find_label (GtkWidget *widget, const gchar *label_pattern); -gboolean gtk_test_simulate_key (GdkWindow *window, - gint x, - gint y, - guint keyval, - GdkModifierType modifiers, - gboolean press_or_release); -gboolean gtk_test_simulate_button (GdkWindow *window, - gint x, - gint y, - guint button, /*1..3*/ - GdkModifierType modifiers, - gboolean press_or_release); G_END_DECLS; #endif /* __GTK_TEST_UTILS_H__ */ |