summaryrefslogtreecommitdiff
path: root/tests/testwindows.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-14 23:12:48 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-10 21:02:27 +0200
commit8f21b09eeeec1847c95ba8e716aeb9a650db35d8 (patch)
tree72bea9c12887c2fe4d5d3a556389fe630992ec5c /tests/testwindows.c
parente85dfc7cc4334430b7f95d7e97a10c6c9e3f1233 (diff)
downloadgtk+-8f21b09eeeec1847c95ba8e716aeb9a650db35d8.tar.gz
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.
Diffstat (limited to 'tests/testwindows.c')
-rw-r--r--tests/testwindows.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/testwindows.c b/tests/testwindows.c
index 93ca976831..48e2b4b263 100644
--- a/tests/testwindows.c
+++ b/tests/testwindows.c
@@ -218,22 +218,6 @@ add_window_clicked (GtkWidget *button,
}
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,