aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-06-06 18:02:13 +0800
committerMilan Crha <mcrha@redhat.com>2014-06-06 18:02:13 +0800
commitd6dcec1b5578cc6a67d3dea97e48b580149cf421 (patch)
tree40afdbd12ca120d70f134de7e92461d881f15e7a /calendar/gui
parent1205a86888d0d3af669c4c7f97b82ef6987b4beb (diff)
downloadgsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar.gz
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar.bz2
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar.lz
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar.xz
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.tar.zst
gsoc2013-evolution-d6dcec1b5578cc6a67d3dea97e48b580149cf421.zip
Bug 731321 - Missing custom types when loading .ui definition
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/event-page.c1
-rw-r--r--calendar/gui/dialogs/memo-page.c1
-rw-r--r--calendar/gui/dialogs/task-page.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 9b70bf7ef0..56d90a3b31 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -3611,6 +3611,7 @@ event_page_construct (EventPage *epage,
/* Make sure our custom widget classes are registered with
* GType before we load the GtkBuilder definition file. */
+ g_type_ensure (E_TYPE_CLIENT_COMBO_BOX);
g_type_ensure (E_TYPE_DATE_EDIT);
g_type_ensure (E_TYPE_TIMEZONE_ENTRY);
g_type_ensure (E_TYPE_SPELL_ENTRY);
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index bb8884d752..b49836d963 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -1238,6 +1238,7 @@ memo_page_construct (MemoPage *mpage)
/* Make sure our custom widget classes are registered with
* GType before we load the GtkBuilder definition file. */
+ g_type_ensure (E_TYPE_CLIENT_COMBO_BOX);
g_type_ensure (E_TYPE_DATE_EDIT);
g_type_ensure (E_TYPE_SPELL_ENTRY);
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 1a791728c9..a251017a17 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -2673,10 +2673,12 @@ task_page_construct (TaskPage *tpage,
/* Make sure our custom widget classes are registered with
* GType before we load the GtkBuilder definition file. */
+ g_type_ensure (E_TYPE_CLIENT_COMBO_BOX);
g_type_ensure (E_TYPE_DATE_EDIT);
g_type_ensure (E_TYPE_TIMEZONE_ENTRY);
g_type_ensure (E_TYPE_SOURCE_COMBO_BOX);
g_type_ensure (E_TYPE_SPELL_ENTRY);
+ g_type_ensure (E_TYPE_URL_ENTRY);
priv->builder = gtk_builder_new ();
e_load_ui_builder_definition (priv->builder, "task-page.ui");