[gtk+] Disable resize grip on spin button test
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Disable resize grip on spin button test
- Date: Tue, 12 Oct 2010 17:16:52 +0000 (UTC)
commit d7c3d378eb25fec997e9e213da5cef9cd464a504
Author: Kristian Rietveld <kris gtk org>
Date: Tue Oct 12 18:53:44 2010 +0200
Disable resize grip on spin button test
Otherwise, the resize grip obscures the decrement button causing the
test to fail.
gtk/tests/testing.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/testing.c b/gtk/tests/testing.c
index 1557152..fc42442 100644
--- a/gtk/tests/testing.c
+++ b/gtk/tests/testing.c
@@ -190,6 +190,8 @@ test_spin_button_arrows (void)
gboolean simsuccess;
double oldval, newval;
+ gtk_window_set_has_resize_grip (GTK_WINDOW (window), FALSE);
+
child = gtk_bin_get_child (GTK_BIN (window));
gtk_container_add (GTK_CONTAINER (child), spinner);
gtk_widget_show (spinner);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]