26 #include "gnucash-scrolled-window.h"
30 static GtkScrolledWindowClass *parent_class = NULL;
41 gnc_scrolled_window_get_type (
void)
43 static GType gnc_scrolled_window_type = 0;
45 if (!gnc_scrolled_window_type)
47 static const GTypeInfo gnc_scrolled_window_info =
52 (GClassInitFunc) gnc_scrolled_window_class_init,
57 (GInstanceInitFunc) gnc_scrolled_window_init
60 gnc_scrolled_window_type = g_type_register_static (GTK_TYPE_SCROLLED_WINDOW,
62 &gnc_scrolled_window_info, 0);
65 return gnc_scrolled_window_type;
70 gnc_scrolled_window_new (
void)
72 return gtk_widget_new (GNC_TYPE_SCROLLED_WINDOW,
82 GtkScrolledWindowClass *scroll_class = GTK_SCROLLED_WINDOW_CLASS (klass);
84 parent_class = g_type_class_peek_parent (klass);
86 scroll_class->scrollbar_spacing = 0;