summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,