[gtk+/rendering-cleanup: 64/141] testoffscreen: Remove unused code
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 64/141] testoffscreen: Remove unused code
- Date: Sat, 11 Sep 2010 03:06:01 +0000 (UTC)
commit bd6aa572ce9851afe612bd6fa630720a895c8614
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]