[gnome-control-center] sharing: Ensure CcHostnameEntry GType before initialization
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Ensure CcHostnameEntry GType before initialization
- Date: Thu, 18 Jan 2018 01:19:30 +0000 (UTC)
commit 0af9a5ad64de7ebaf92740ae0e5db9d92211d1f2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jan 17 23:18:37 2018 -0200
sharing: Ensure CcHostnameEntry GType before initialization
The exact same reasoning of 35e670c6da.
panels/sharing/cc-sharing-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 5add115..68335ce 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -200,6 +200,8 @@ cc_sharing_panel_class_init (CcSharingPanelClass *klass)
object_class->dispose = cc_sharing_panel_dispose;
panel_class->get_help_uri = cc_sharing_panel_get_help_uri;
+
+ g_type_ensure (CC_TYPE_HOSTNAME_ENTRY);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]