[gnome-builder] GbEditorFrame: cleanup class init a bit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] GbEditorFrame: cleanup class init a bit
- Date: Sat, 20 Dec 2014 01:22:01 +0000 (UTC)
commit 9a747a6693f8abcb26867680d80244956fddbf2e
Author: Christian Hergert <christian hergert me>
Date: Fri Dec 19 17:21:06 2014 -0800
GbEditorFrame: cleanup class init a bit
src/editor/gb-editor-frame.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/src/editor/gb-editor-frame.c b/src/editor/gb-editor-frame.c
index c6ecc5d..1ca82d9 100644
--- a/src/editor/gb-editor-frame.c
+++ b/src/editor/gb-editor-frame.c
@@ -1251,16 +1251,15 @@ gb_editor_frame_class_init (GbEditorFrameClass *klass)
G_TYPE_NONE,
0);
- gtk_widget_class_set_template_from_resource (widget_class,
- "/org/gnome/builder/ui/gb-editor-frame.ui");
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, busy_spinner);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, floating_bar);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, forward_search);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, backward_search);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, scrolled_window);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, search_revealer);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, search_entry);
- gtk_widget_class_bind_template_child_private (widget_class, GbEditorFrame, source_view);
+ GB_WIDGET_CLASS_TEMPLATE (widget_class, "gb-editor-frame.ui");
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, busy_spinner);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, floating_bar);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, forward_search);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, backward_search);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, scrolled_window);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, search_revealer);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, search_entry);
+ GB_WIDGET_CLASS_BIND (widget_class, GbEditorFrame, source_view);
g_type_ensure (GB_TYPE_SOURCE_VIEW);
g_type_ensure (GD_TYPE_TAGGED_ENTRY);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]