[devhelp] window: fix once again api break on templates



commit ed6c07f726c11524454b0531d4404f9c42a20307
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Sat Jul 27 18:53:37 2013 +0200

    window: fix once again api break on templates

 src/dh-window.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index dd34d0b..afb024f 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -592,16 +592,16 @@ dh_window_class_init (DhWindowClass *klass)
         /* Bind class to template */
         gtk_widget_class_set_template_from_resource (widget_class,
                                                      "/org/gnome/devhelp/dh-window.ui");
-        gtk_widget_class_bind_child (widget_class, DhWindow, header_bar);
-        gtk_widget_class_bind_child (widget_class, DhWindow, back_button);
-        gtk_widget_class_bind_child (widget_class, DhWindow, back_button_image);
-        gtk_widget_class_bind_child (widget_class, DhWindow, forward_button);
-        gtk_widget_class_bind_child (widget_class, DhWindow, forward_button_image);
-        gtk_widget_class_bind_child (widget_class, DhWindow, close_button);
-        gtk_widget_class_bind_child (widget_class, DhWindow, hpaned);
-        gtk_widget_class_bind_child (widget_class, DhWindow, grid_sidebar);
-        gtk_widget_class_bind_child (widget_class, DhWindow, grid_documents);
-        gtk_widget_class_bind_child (widget_class, DhWindow, notebook);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, header_bar);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, back_button);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, back_button_image);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, forward_button);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, forward_button_image);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, close_button);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, hpaned);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, grid_sidebar);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, grid_documents);
+        gtk_widget_class_bind_template_child_private (widget_class, DhWindow, notebook);
 }
 
 static void


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