summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-20 20:16:59 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-21 13:21:36 (EDT)
commit3e75238825b87bbbd6da20d3478c6c861d8a27b1 (patch)
tree3def5e2e84549e25a0339e5357b3a04445dc1769
parent29fa56b9bf945102c64842d1f6c7f38422b47e84 (diff)
downloadmarquee-3e75238825b87bbbd6da20d3478c6c861d8a27b1.zip
marquee-3e75238825b87bbbd6da20d3478c6c861d8a27b1.tar.gz
marquee-3e75238825b87bbbd6da20d3478c6c861d8a27b1.tar.bz2
src/scrolled-window.c: Implement stub size_allocate method
-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 *