summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/scrolled-window.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scrolled-window.c b/src/scrolled-window.c
index 62d2770..96d0eba 100644
--- a/src/scrolled-window.c
+++ b/src/scrolled-window.c
@@ -32,6 +32,11 @@ struct _MqScrolledWindowClass {
G_DEFINE_TYPE(MqScrolledWindow, mq_scrolled_window, GTK_TYPE_SCROLLED_WINDOW)
static void
+mq_scrolled_window_size_allocate(GtkWidget *widget, GtkAllocation *allocation)
+{
+}
+
+static void
mq_scrolled_window_init(MqScrolledWindow *scrolled_window)
{
}
@@ -39,6 +44,11 @@ mq_scrolled_window_init(MqScrolledWindow *scrolled_window)
static void
mq_scrolled_window_class_init(MqScrolledWindowClass *class)
{
+ GtkWidgetClass *widget_class;
+
+ widget_class = (GtkWidgetClass *) class;
+
+ widget_class->size_allocate = mq_scrolled_window_size_allocate;
}
MqScrolledWindow *