[gnome-builder] gui: remove unnecessary g_type_ensure()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gui: remove unnecessary g_type_ensure()
- Date: Mon, 22 Apr 2019 22:31:52 +0000 (UTC)
commit d4f954f16cbc0851fc8f04ec73ab5f1b702909d4
Author: Christian Hergert <chergert redhat com>
Date: Mon Apr 22 15:16:50 2019 -0700
gui: remove unnecessary g_type_ensure()
These are not needed since they are in public ABI which provides symbols.
src/libide/gui/ide-primary-workspace.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/libide/gui/ide-primary-workspace.c b/src/libide/gui/ide-primary-workspace.c
index fe0a2fcaa..a3cd7a3cb 100644
--- a/src/libide/gui/ide-primary-workspace.c
+++ b/src/libide/gui/ide-primary-workspace.c
@@ -28,7 +28,6 @@
#include "ide-omni-bar.h"
#include "ide-primary-workspace.h"
#include "ide-run-button.h"
-#include "ide-search-entry.h"
#include "ide-surface.h"
#include "ide-window-settings-private.h"
@@ -125,10 +124,7 @@ ide_primary_workspace_class_init (IdePrimaryWorkspaceClass *klass)
gtk_widget_class_bind_template_child (widget_class, IdePrimaryWorkspace, search_tooltip);
gtk_widget_class_bind_template_child (widget_class, IdePrimaryWorkspace, surface_menu_button);
- g_type_ensure (IDE_TYPE_HEADER_BAR);
- g_type_ensure (IDE_TYPE_OMNI_BAR);
g_type_ensure (IDE_TYPE_RUN_BUTTON);
- g_type_ensure (IDE_TYPE_SEARCH_ENTRY);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]