tests: remove "draw drawable" button from testwindows test

draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
This commit is contained in:
Benjamin Otte 2010-07-14 23:12:48 +02:00
parent e85dfc7cc4
commit 8f21b09eee

View File

@ -217,22 +217,6 @@ add_window_clicked (GtkWidget *button,
update_store ();
}
static void
draw_drawable_clicked (GtkWidget *button,
gpointer data)
{
GdkGC *gc;
gc = gdk_gc_new (darea->window);
gdk_draw_drawable (darea->window,
gc,
darea->window,
-15, -15,
40, 70,
100, 100);
g_object_unref (gc);
}
static void
remove_window_clicked (GtkWidget *button,
gpointer data)
@ -1047,16 +1031,6 @@ main (int argc, char **argv)
3, 4);
gtk_widget_show (button);
button = gtk_button_new_with_label ("draw drawable");
gtk_box_pack_start (GTK_BOX (vbox),
button,
FALSE, FALSE,
2);
gtk_widget_show (button);
g_signal_connect (button, "clicked",
G_CALLBACK (draw_drawable_clicked),
NULL);
button = gtk_button_new_with_label ("Add window");
gtk_box_pack_start (GTK_BOX (vbox),
button,