aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-scrolled.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2003-02-05 03:01:48 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-02-05 03:01:48 +0800
commit9a00cb72159c2bc69f4b76fc211479ffa6f4c83f (patch)
tree6dbd19c7c4cfce5f5f5adb76b2fcd1596ee2bbd6 /widgets/table/e-table-scrolled.c
parent7159321621277c024148a9ad063ffa07e3e039bf (diff)
downloadgsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.tar.gz
gsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.tar.zst
gsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.zip
replaced e scroll frame with gtk scrolled window
svn path=/trunk/; revision=19735
Diffstat (limited to 'widgets/table/e-table-scrolled.c')
-rw-r--r--widgets/table/e-table-scrolled.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c
index 4731ee45bc..1786148c78 100644
--- a/widgets/table/e-table-scrolled.c
+++ b/widgets/table/e-table-scrolled.c
@@ -37,7 +37,7 @@
#define COLUMN_HEADER_HEIGHT 16
-#define PARENT_TYPE e_scroll_frame_get_type ()
+#define PARENT_TYPE gtk_scrolled_window_get_type ()
static GtkObjectClass *parent_class;
@@ -50,17 +50,17 @@ static void
e_table_scrolled_init (GtkObject *object)
{
ETableScrolled *ets;
- EScrollFrame *scroll_frame;
+ GtkScrolledWindow *scrolled_window;
- ets = E_TABLE_SCROLLED (object);
- scroll_frame = E_SCROLL_FRAME (object);
+ ets = E_TABLE_SCROLLED (object);
+ scrolled_window = GTK_SCROLLED_WINDOW (object);
GTK_WIDGET_SET_FLAGS (ets, GTK_CAN_FOCUS);
ets->table = g_object_new (E_TABLE_TYPE, NULL);
- e_scroll_frame_set_policy (scroll_frame, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- e_scroll_frame_set_shadow_type (scroll_frame, GTK_SHADOW_IN);
+ gtk_scrolled_window_set_policy (scrolled_window, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (scrolled_window, GTK_SHADOW_IN);
}
static void