diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-15 20:13:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-15 21:16:36 +0800 |
commit | 6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04 (patch) | |
tree | 839a4d68cad08f6e00925b796037d8d091f2bf86 /e-util | |
parent | 5e2efa2cd4ac7891fdf316dafd9ab249086e842a (diff) | |
download | gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.gz gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.zst gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.zip |
Fix compiler warnings.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-attachment-view.c | 4 | ||||
-rw-r--r-- | e-util/e-send-options.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-attachment-view.c b/e-util/e-attachment-view.c index e468c14120..b1abda1e47 100644 --- a/e-util/e-attachment-view.c +++ b/e-util/e-attachment-view.c @@ -868,8 +868,8 @@ e_attachment_view_default_init (EAttachmentViewInterface *interface) G_TYPE_NONE, 0); /* Register known handler types. */ - e_attachment_handler_image_get_type (); - e_attachment_handler_sendto_get_type (); + g_type_ensure (E_TYPE_ATTACHMENT_HANDLER_IMAGE); + g_type_ensure (E_TYPE_ATTACHMENT_HANDLER_SENDTO); } void diff --git a/e-util/e-send-options.c b/e-util/e-send-options.c index bf50dbefc0..f586f36f66 100644 --- a/e-util/e-send-options.c +++ b/e-util/e-send-options.c @@ -665,7 +665,7 @@ e_send_options_dialog_run (ESendOptionsDialog *sod, /* Make sure our custom widget classes are registered with * GType before we load the GtkBuilder definition file. */ - E_TYPE_DATE_EDIT; + g_type_ensure (E_TYPE_DATE_EDIT); priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "e-send-options.ui"); |