[gtk+/rendering-cleanup: 64/144] testoffscreen: Remove unused code



commit dd4be41f75eb1f761d3dee9bac9f57e935113244
Author: Benjamin Otte <otte redhat com>
Date:   Tue Aug 24 17:06:40 2010 +0200

    testoffscreen: Remove unused code

 tests/testoffscreen.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/tests/testoffscreen.c b/tests/testoffscreen.c
index bd92c70..ad2c1a0 100644
--- a/tests/testoffscreen.c
+++ b/tests/testoffscreen.c
@@ -373,21 +373,6 @@ main (int   argc,
                     G_CALLBACK (remove_clicked),
                     widget);
 
-  /* redirect */
-  if (0)
-    {
-      GtkWidget *redirect_win;
-
-      redirect_win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-      gtk_window_set_default_size (GTK_WINDOW (redirect_win), 400,400);
-      gtk_widget_show (redirect_win);
-      gtk_widget_realize (redirect_win);
-      gtk_widget_realize (window);
-      gdk_window_redirect_to_drawable (gtk_widget_get_window (window),
-                                       GDK_DRAWABLE (gtk_widget_get_window (redirect_win)),
-				       0, 0, 0, 0, -1, -1);
-    }
-
   gtk_main ();
 
   return 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]