[gnome-todo/gbsneto/animations: 4/6] widget: Use GtdBinLayout by default




commit 0e454c3648b8a480c451d961a05905840f042624
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Aug 6 20:34:04 2020 -0300

    widget: Use GtdBinLayout by default
    
    So that GtdWidgets that are children of other GtdWidgets have their
    own transform applied.

 src/gui/gtd-widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/gtd-widget.c b/src/gui/gtd-widget.c
index fe227ba..bdcf324 100644
--- a/src/gui/gtd-widget.c
+++ b/src/gui/gtd-widget.c
@@ -18,6 +18,7 @@
  * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
+#include "gtd-bin-layout.h"
 #include "gtd-debug.h"
 #include "gtd-widget-private.h"
 
@@ -385,7 +386,7 @@ gtd_widget_class_init (GtdWidgetClass *klass)
 
   g_object_class_install_properties (object_class, N_PROPS, properties);
 
-  gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT);
+  gtk_widget_class_set_layout_manager_type (widget_class, GTD_TYPE_BIN_LAYOUT);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]