aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text-model-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-text-model-test.c')
-rw-r--r--widgets/text/e-text-model-test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/widgets/text/e-text-model-test.c b/widgets/text/e-text-model-test.c
index c364b852c6..4913b7774e 100644
--- a/widgets/text/e-text-model-test.c
+++ b/widgets/text/e-text-model-test.c
@@ -67,10 +67,8 @@ main (int argc, gchar **argv)
for (i=0; i<2; ++i) {
win[i] = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_push_visual (gdk_rgb_get_visual ());
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
canvas[i] = e_canvas_new ();
- gtk_widget_pop_visual ();
gtk_widget_pop_colormap ();
item[i] = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (canvas[i])),