summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-05-10 15:00:12 +0200
committerBenjamin Otte <otte@redhat.com>2019-05-12 17:28:18 +0200
commit6f6b07aaaeeb4bd0027deddb95c0ab616a437d4e (patch)
treed4f8518b06cdea2606217e000856551721041e16
parent4bccd17941e2513ceac9221edf94d9ba920c92d6 (diff)
downloadgtk+-6f6b07aaaeeb4bd0027deddb95c0ab616a437d4e.tar.gz
testsuite: Stop using g_test_bug()
The calls used old bugzilla URLs and nobody cared about that. So apparently they are very unused. There's also a potential conflict between gitlab and bugzilla URLs and what base bug to use there. The old usages have been converted to comments.
-rw-r--r--gtk/gtktestutils.c1
-rw-r--r--testsuite/a11y/misc.c4
-rw-r--r--testsuite/a11y/text.c4
-rw-r--r--testsuite/a11y/value.c2
-rw-r--r--testsuite/gdk/memorytexture.c2
-rw-r--r--testsuite/gdk/rectangle.c2
-rw-r--r--testsuite/gdk/rgba.c16
-rw-r--r--testsuite/gdk/seat.c2
-rw-r--r--testsuite/gtk/bitmask.c1
-rw-r--r--testsuite/gtk/cellarea.c1
-rw-r--r--testsuite/gtk/filterlistmodel.c1
-rw-r--r--testsuite/gtk/filtermodel.c14
-rw-r--r--testsuite/gtk/flattenlistmodel.c1
-rw-r--r--testsuite/gtk/main.c1
-rw-r--r--testsuite/gtk/maplistmodel.c1
-rw-r--r--testsuite/gtk/no-gtk-init.c1
-rw-r--r--testsuite/gtk/rbtree-crash.c1
-rw-r--r--testsuite/gtk/rbtree.c1
-rw-r--r--testsuite/gtk/singleselection.c1
-rw-r--r--testsuite/gtk/slicelistmodel.c1
-rw-r--r--testsuite/gtk/sortlistmodel.c1
-rw-r--r--testsuite/gtk/sortmodel.c8
-rw-r--r--testsuite/gtk/treelistmodel.c1
-rw-r--r--testsuite/gtk/treemodel.c2
-rw-r--r--testsuite/gtk/treestore.c4
-rw-r--r--testsuite/gtk/treeview.c9
-rw-r--r--testsuite/gtk/window.c3
27 files changed, 27 insertions, 59 deletions
diff --git a/gtk/gtktestutils.c b/gtk/gtktestutils.c
index 9fe37861a8..75d62dc72d 100644
--- a/gtk/gtktestutils.c
+++ b/gtk/gtktestutils.c
@@ -78,7 +78,6 @@ gtk_test_init (int *argcp,
g_test_init (argcp, argvp, NULL);
gtk_disable_setlocale();
setlocale (LC_ALL, "en_US.UTF-8");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
/* XSendEvent() doesn't work yet on XI2 events.
* So at the moment gdk_test_simulate_* can only
diff --git a/testsuite/a11y/misc.c b/testsuite/a11y/misc.c
index a6ae6cacd0..96c870ba52 100644
--- a/testsuite/a11y/misc.c
+++ b/testsuite/a11y/misc.c
@@ -27,7 +27,7 @@ test_popover_parent (void)
GtkWidget *p;
AtkObject *a;
- g_test_bug ("733923");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=733923 */
w = gtk_entry_new ();
@@ -50,8 +50,6 @@ main (int argc, char *argv[])
{
gtk_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
g_test_add_func ("/popover/accessible-parent", test_popover_parent);
return g_test_run ();
diff --git a/testsuite/a11y/text.c b/testsuite/a11y/text.c
index 7a2a31fd08..fc5ac70cc3 100644
--- a/testsuite/a11y/text.c
+++ b/testsuite/a11y/text.c
@@ -1064,7 +1064,7 @@ test_bold_label (void)
AtkObject *atk_obj;
gchar *text;
- g_test_bug ("126797");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=126797 */
label = gtk_label_new ("<b>Bold?</b>");
g_object_ref_sink (label);
@@ -1089,8 +1089,6 @@ main (int argc, char *argv[])
{
gtk_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
g_test_add_func ("/text/bold/GtkLabel", test_bold_label);
add_text_tests (gtk_label_new (""));
diff --git a/testsuite/a11y/value.c b/testsuite/a11y/value.c
index 176fd2d440..df94c5b0d0 100644
--- a/testsuite/a11y/value.c
+++ b/testsuite/a11y/value.c
@@ -119,8 +119,6 @@ main (int argc, char *argv[])
{
gtk_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
add_value_tests (gtk_spin_button_new_with_range (0, 100, 1));
add_value_tests (gtk_level_bar_new_for_interval (0, 100));
diff --git a/testsuite/gdk/memorytexture.c b/testsuite/gdk/memorytexture.c
index 65d1590680..b43281e6b2 100644
--- a/testsuite/gdk/memorytexture.c
+++ b/testsuite/gdk/memorytexture.c
@@ -181,8 +181,6 @@ main (int argc, char *argv[])
g_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org");
-
enum_class = g_type_class_ref (GDK_TYPE_MEMORY_FORMAT);
for (format = 0; format < GDK_MEMORY_N_FORMATS; format++)
diff --git a/testsuite/gdk/rectangle.c b/testsuite/gdk/rectangle.c
index 1b9cbe9135..ead270eea7 100644
--- a/testsuite/gdk/rectangle.c
+++ b/testsuite/gdk/rectangle.c
@@ -72,8 +72,6 @@ main (int argc, char *argv[])
gtk_init ();
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
g_test_add_func ("/rectangle/equal", test_rectangle_equal);
g_test_add_func ("/rectangle/intersect", test_rectangle_intersect);
g_test_add_func ("/rectangle/union", test_rectangle_union);
diff --git a/testsuite/gdk/rgba.c b/testsuite/gdk/rgba.c
index fa2da629bf..46ba887d70 100644
--- a/testsuite/gdk/rgba.c
+++ b/testsuite/gdk/rgba.c
@@ -121,7 +121,7 @@ test_color_parse_nonsense (void)
GdkRGBA color;
gboolean res;
- g_test_bug ("667485");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=667485 */
res = gdk_rgba_parse (&color, "rgb(,,)");
g_assert (!res);
@@ -151,14 +151,12 @@ test_color_parse_nonsense (void)
int
main (int argc, char *argv[])
{
- g_test_init (&argc, &argv, NULL);
+ g_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org");
+ g_test_add_func ("/rgba/parse", test_color_parse);
+ g_test_add_func ("/rgba/parse/nonsense", test_color_parse_nonsense);
+ g_test_add_func ("/rgba/to-string", test_color_to_string);
+ g_test_add_func ("/rgba/copy", test_color_copy);
- g_test_add_func ("/rgba/parse", test_color_parse);
- g_test_add_func ("/rgba/parse/nonsense", test_color_parse_nonsense);
- g_test_add_func ("/rgba/to-string", test_color_to_string);
- g_test_add_func ("/rgba/copy", test_color_copy);
-
- return g_test_run ();
+ return g_test_run ();
}
diff --git a/testsuite/gdk/seat.c b/testsuite/gdk/seat.c
index 8fadb82a6f..e87c2b26a6 100644
--- a/testsuite/gdk/seat.c
+++ b/testsuite/gdk/seat.c
@@ -111,8 +111,6 @@ main (int argc, char *argv[])
gtk_init ();
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
g_test_add_func ("/seat/list", test_list_seats);
g_test_add_func ("/seat/default", test_default_seat);
diff --git a/testsuite/gtk/bitmask.c b/testsuite/gtk/bitmask.c
index d6c1267eee..75aec409a7 100644
--- a/testsuite/gtk/bitmask.c
+++ b/testsuite/gtk/bitmask.c
@@ -454,7 +454,6 @@ main (int argc, char *argv[])
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
create_masks ();
diff --git a/testsuite/gtk/cellarea.c b/testsuite/gtk/cellarea.c
index 07e0027816..eebe8f9306 100644
--- a/testsuite/gtk/cellarea.c
+++ b/testsuite/gtk/cellarea.c
@@ -745,7 +745,6 @@ int
main (int argc, char *argv[])
{
gtk_test_init (&argc, &argv);
- g_test_bug_base ("http://bugzilla.gnome.org/");
gtk_test_register_all_types();
g_test_add_func ("/tests/iconview-new", test_iconview_new);
diff --git a/testsuite/gtk/filterlistmodel.c b/testsuite/gtk/filterlistmodel.c
index 07fdf77b6f..6cd9111255 100644
--- a/testsuite/gtk/filterlistmodel.c
+++ b/testsuite/gtk/filterlistmodel.c
@@ -311,7 +311,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/filtermodel.c b/testsuite/gtk/filtermodel.c
index ce0defacf5..48351bc320 100644
--- a/testsuite/gtk/filtermodel.c
+++ b/testsuite/gtk/filtermodel.c
@@ -5727,7 +5727,7 @@ specific_bug_301558 (void)
int i;
gboolean add;
- g_test_bug ("301558");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=301558 */
tree = gtk_tree_store_new (2, G_TYPE_INT, G_TYPE_BOOLEAN);
gtk_tree_store_append (tree, &iter, NULL);
@@ -5803,7 +5803,7 @@ specific_bug_311955 (void)
int n;
GtkTreePath *path;
- g_test_bug ("311955");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=311955 */
store = gtk_tree_store_new (1, G_TYPE_INT);
@@ -5972,7 +5972,7 @@ specific_bug_346800 (void)
store = gtk_tree_store_newv (2, columns);
model = GTK_TREE_MODEL (store);
- g_test_bug ("346800");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=346800 */
filter = GTK_TREE_MODEL_FILTER (gtk_tree_model_filter_new (model, NULL));
gtk_tree_model_filter_set_visible_column (filter, 1);
@@ -6031,7 +6031,7 @@ specific_bug_464173 (void)
GtkWidget *view G_GNUC_UNUSED;
gboolean visible = TRUE;
- g_test_bug ("464173");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=464173 */
model = gtk_tree_store_new (1, G_TYPE_STRING);
gtk_tree_store_append (model, &iter1, NULL);
@@ -6075,7 +6075,7 @@ specific_bug_540201 (void)
GtkWidget *tree_view G_GNUC_UNUSED;
- g_test_bug ("540201");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=540201 */
store = gtk_tree_store_new (1, G_TYPE_INT);
@@ -6128,7 +6128,7 @@ specific_bug_549287 (void)
GtkTreeIter iter;
GtkTreeIter *swap, *parent, *child;
- g_test_bug ("529287");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=529287 */
store = gtk_tree_store_new (1, G_TYPE_STRING);
filtered = gtk_tree_model_filter_new (GTK_TREE_MODEL (store), NULL);
@@ -6227,7 +6227,7 @@ specific_bug_621076 (void)
GtkTreeIter item_iter;
SignalMonitor *monitor;
- g_test_bug ("621076");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=621076 */
store = gtk_tree_store_new (1, G_TYPE_STRING);
filter = gtk_tree_model_filter_new (GTK_TREE_MODEL (store), NULL);
diff --git a/testsuite/gtk/flattenlistmodel.c b/testsuite/gtk/flattenlistmodel.c
index c06e30b350..94de2490ef 100644
--- a/testsuite/gtk/flattenlistmodel.c
+++ b/testsuite/gtk/flattenlistmodel.c
@@ -356,7 +356,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/main.c b/testsuite/gtk/main.c
index 727ae032bb..cdfd4d058d 100644
--- a/testsuite/gtk/main.c
+++ b/testsuite/gtk/main.c
@@ -22,7 +22,6 @@ main (int argc, char *argv[])
g_test_init (&argc, &argv, NULL);
gtk_disable_setlocale();
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
g_test_add_func ("/main/init", test_init);
diff --git a/testsuite/gtk/maplistmodel.c b/testsuite/gtk/maplistmodel.c
index b32d95b128..11f87f0d37 100644
--- a/testsuite/gtk/maplistmodel.c
+++ b/testsuite/gtk/maplistmodel.c
@@ -286,7 +286,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/no-gtk-init.c b/testsuite/gtk/no-gtk-init.c
index 29d151f8cc..b7d1be66d7 100644
--- a/testsuite/gtk/no-gtk-init.c
+++ b/testsuite/gtk/no-gtk-init.c
@@ -49,7 +49,6 @@ main (int argc,
g_test_init (&argc, &argv, NULL);
g_setenv ("GTK_MODULES", "", TRUE);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
g_test_add_func ("/no_gtk_init/gdk_cairo_set_source_pixbuf", test_gdk_cairo_set_source_pixbuf);
diff --git a/testsuite/gtk/rbtree-crash.c b/testsuite/gtk/rbtree-crash.c
index 7abc6c2d7f..78bdfdac7b 100644
--- a/testsuite/gtk/rbtree-crash.c
+++ b/testsuite/gtk/rbtree-crash.c
@@ -292,7 +292,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
g_test_add_func ("/rbtree/crash", test_crash);
g_test_add_func ("/rbtree/crash2", test_crash2);
diff --git a/testsuite/gtk/rbtree.c b/testsuite/gtk/rbtree.c
index c29eb1fbd8..9e636bb47c 100644
--- a/testsuite/gtk/rbtree.c
+++ b/testsuite/gtk/rbtree.c
@@ -514,7 +514,6 @@ main (int argc,
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
g_test_add_func ("/rbtree/create", test_create);
g_test_add_func ("/rbtree/insert_after", test_insert_after);
diff --git a/testsuite/gtk/singleselection.c b/testsuite/gtk/singleselection.c
index 28cfa72fdb..24de458e1c 100644
--- a/testsuite/gtk/singleselection.c
+++ b/testsuite/gtk/singleselection.c
@@ -647,7 +647,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/slicelistmodel.c b/testsuite/gtk/slicelistmodel.c
index 01717c8f51..a672feeac8 100644
--- a/testsuite/gtk/slicelistmodel.c
+++ b/testsuite/gtk/slicelistmodel.c
@@ -324,7 +324,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/sortlistmodel.c b/testsuite/gtk/sortlistmodel.c
index 1b54d0b976..03b5c8ad64 100644
--- a/testsuite/gtk/sortlistmodel.c
+++ b/testsuite/gtk/sortlistmodel.c
@@ -385,7 +385,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/sortmodel.c b/testsuite/gtk/sortmodel.c
index f9a7eb1886..4cf57a07cb 100644
--- a/testsuite/gtk/sortmodel.c
+++ b/testsuite/gtk/sortmodel.c
@@ -1040,7 +1040,7 @@ specific_bug_300089 (void)
GtkTreePath *path;
GtkTreeIter iter, iter2, sort_iter;
- g_test_bug ("300089");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=300089 */
child_model = GTK_TREE_MODEL (gtk_tree_store_new (1, G_TYPE_STRING));
@@ -1084,7 +1084,7 @@ specific_bug_364946 (void)
GtkTreeIter a, aa, aaa, aab, iter;
GtkTreeModel *s_model;
- g_test_bug ("364946");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=364946 */
store = gtk_tree_store_new (1, G_TYPE_STRING);
@@ -1187,7 +1187,7 @@ specific_bug_698846 (void)
GtkTreeIter iter;
guint count = 0;
- g_test_bug ("698846");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=698846 */
store = gtk_list_store_new (1, G_TYPE_STRING);
sorted = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (store));
@@ -1228,7 +1228,7 @@ sort_column_change (void)
GtkSortType order;
gboolean ret;
- g_test_bug ("792459");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=792459 */
store = gtk_list_store_new (1, G_TYPE_STRING);
sorted = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (store));
diff --git a/testsuite/gtk/treelistmodel.c b/testsuite/gtk/treelistmodel.c
index 91a7b180f7..a54d869aa3 100644
--- a/testsuite/gtk/treelistmodel.c
+++ b/testsuite/gtk/treelistmodel.c
@@ -254,7 +254,6 @@ main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
- g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=%s");
number_quark = g_quark_from_static_string ("Hell and fire was spawned to be released.");
changes_quark = g_quark_from_static_string ("What did I see? Can I believe what I saw?");
diff --git a/testsuite/gtk/treemodel.c b/testsuite/gtk/treemodel.c
index 59677a25c6..b5615a3057 100644
--- a/testsuite/gtk/treemodel.c
+++ b/testsuite/gtk/treemodel.c
@@ -25,8 +25,6 @@ main (int argc,
{
gtk_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org/");
-
register_list_store_tests ();
register_tree_store_tests ();
register_model_ref_count_tests ();
diff --git a/testsuite/gtk/treestore.c b/testsuite/gtk/treestore.c
index 109b0dcb44..a58ab780f9 100644
--- a/testsuite/gtk/treestore.c
+++ b/testsuite/gtk/treestore.c
@@ -1026,7 +1026,7 @@ specific_bug_77977 (void)
/* Stripped down version of test case for bug 77977 by Damon Chaplin */
- g_test_bug ("77977");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=77977 */
tree_store = gtk_tree_store_new (1, G_TYPE_STRING);
@@ -1064,7 +1064,7 @@ specific_bug_698396 (void)
GtkTreeStore *tree_store;
gint new_order[1] = { 0 };
- g_test_bug ("698396");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=698396 */
tree_store = gtk_tree_store_new (1, G_TYPE_STRING);
diff --git a/testsuite/gtk/treeview.c b/testsuite/gtk/treeview.c
index eae3dc014c..13dc43785a 100644
--- a/testsuite/gtk/treeview.c
+++ b/testsuite/gtk/treeview.c
@@ -26,7 +26,7 @@ test_bug_546005 (void)
GtkListStore *list_store;
GtkWidget *view;
- g_test_bug ("546005");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=546005 */
/* Tests provided by Bjorn Lindqvist, Paul Pogonyshev */
view = gtk_tree_view_new ();
@@ -78,7 +78,7 @@ test_bug_539377 (void)
GtkTreePath *path;
GtkListStore *list_store;
- g_test_bug ("539377");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=539377 */
/* Test provided by Bjorn Lindqvist */
@@ -236,7 +236,7 @@ test_selection_count (void)
GtkTreeSelection *selection;
GtkWidget *view;
- g_test_bug ("702957");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=702957 */
list_store = gtk_list_store_new (1, G_TYPE_STRING);
view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (list_store));
@@ -299,7 +299,7 @@ test_selection_empty (void)
GtkWidget *view;
GtkTreeIter iter;
- g_test_bug ("712760");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=712760 */
list_store = gtk_list_store_new (1, G_TYPE_STRING);
view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (list_store));
@@ -340,7 +340,6 @@ main (int argc,
char **argv)
{
gtk_test_init (&argc, &argv, NULL);
- g_test_bug_base ("http://bugzilla.gnome.org/");
g_test_add_func ("/TreeView/cursor/bug-546005", test_bug_546005);
g_test_add_func ("/TreeView/cursor/bug-539377", test_bug_539377);
diff --git a/testsuite/gtk/window.c b/testsuite/gtk/window.c
index 186570983e..bd3a8038bb 100644
--- a/testsuite/gtk/window.c
+++ b/testsuite/gtk/window.c
@@ -218,7 +218,7 @@ test_show_hide (void)
GtkWidget *window;
gint w, h, w1, h1;
- g_test_bug ("696882");
+ /*http://bugzilla.gnome.org/show_bug.cgi?id=696882 */
/* test that hide/show does not affect the size */
@@ -258,7 +258,6 @@ main (int argc, char *argv[])
gint i;
gtk_test_init (&argc, &argv);
- g_test_bug_base ("http://bugzilla.gnome.org/");
for (i = 0; i < argc; i++)
{