[gnome-todo] widget: Set bin layout by default
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] widget: Set bin layout by default
- Date: Fri, 8 May 2020 15:06:44 +0000 (UTC)
commit 0cd63677b57e6b0c2885cd7d1af885bb8af5da7e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri May 8 10:11:54 2020 -0300
widget: Set bin layout by default
src/gtd-widget.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/gtd-widget.c b/src/gtd-widget.c
index e1d5783..47625b7 100644
--- a/src/gtd-widget.c
+++ b/src/gtd-widget.c
@@ -42,8 +42,11 @@ static void
gtd_widget_class_init (GtdWidgetClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
object_class->dispose = gtd_widget_dispose;
+
+ gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]