From 781790e71236bcfde04ad2ef3ce6aec1e0363898 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Sun, 17 Feb 2002 16:11:21 +0000 Subject: Remove calls to deprecated functions gtk_widget_push|pop_visual(). 2002-02-17 Kjartan Maraas * gal/e-text/e-text-model-test.c, e-text-test.c: Remove calls to deprecated functions gtk_widget_push|pop_visual(). svn path=/branches/gal-2/; revision=15754 --- widgets/text/e-text-model-test.c | 2 -- widgets/text/e-text-test.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/widgets/text/e-text-model-test.c b/widgets/text/e-text-model-test.c index a960c89003..a6f26d152f 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])), diff --git a/widgets/text/e-text-test.c b/widgets/text/e-text-test.c index c60be527c8..6a9a5bd16d 100644 --- a/widgets/text/e-text-test.c +++ b/widgets/text/e-text-test.c @@ -105,10 +105,8 @@ main (int argc, gtk_signal_connect (GTK_OBJECT (window), "destroy", GTK_SIGNAL_FUNC (quit_cb), NULL); - gtk_widget_push_visual (gdk_rgb_get_visual ()); gtk_widget_push_colormap (gdk_rgb_get_cmap ()); canvas = e_canvas_new (); - gtk_widget_pop_visual (); gtk_widget_pop_colormap (); scroller = gtk_scrolled_window_new (NULL, NULL); vbox = gtk_vbox_new (FALSE, 2); -- cgit