From 9a00cb72159c2bc69f4b76fc211479ffa6f4c83f Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 4 Feb 2003 19:01:48 +0000 Subject: replaced e scroll frame with gtk scrolled window svn path=/trunk/; revision=19735 --- widgets/text/e-completion-view.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'widgets/text') diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c index cfee21aae9..774e73cd17 100644 --- a/widgets/text/e-completion-view.c +++ b/widgets/text/e-completion-view.c @@ -381,7 +381,7 @@ e_completion_view_set_cursor_row (ECompletionView *cv, gint r) } #endif - adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (cv->table)); + adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (cv->table)); table = e_completion_view_table (cv); @@ -801,9 +801,8 @@ e_completion_view_construct (ECompletionView *cv, ECompletion *completion) cv->table = e_table_scrolled_new (cv->model, NULL, simple_spec, NULL); g_object_unref (cv->model); - e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (cv->table), GTK_SHADOW_NONE); - e_scroll_frame_set_scrollbar_spacing (E_SCROLL_FRAME (cv->table), 0); - e_scroll_frame_set_policy (E_SCROLL_FRAME (cv->table), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (cv->table), GTK_SHADOW_NONE); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (cv->table), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); gtk_container_add (GTK_CONTAINER (cv), cv->table); gtk_widget_show_all (cv->table); -- cgit