aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2002-02-18 00:11:21 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2002-02-18 00:11:21 +0800
commit781790e71236bcfde04ad2ef3ce6aec1e0363898 (patch)
tree8f9cf0a5cbbf31b6d15915c2232ffcf797c90eb4
parent877a9094b2729e549cec7df86e62668041326e44 (diff)
downloadgsoc2013-evolution-781790e71236bcfde04ad2ef3ce6aec1e0363898.tar.gz
gsoc2013-evolution-781790e71236bcfde04ad2ef3ce6aec1e0363898.tar.zst
gsoc2013-evolution-781790e71236bcfde04ad2ef3ce6aec1e0363898.zip
Remove calls to deprecated functions gtk_widget_push|pop_visual().
2002-02-17 Kjartan Maraas <kmaraas@gnome.org> * 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
-rw-r--r--widgets/text/e-text-model-test.c2
-rw-r--r--widgets/text/e-text-test.c2
2 files changed, 0 insertions, 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);