From 6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 15 Dec 2012 07:13:57 -0500 Subject: Fix compiler warnings. --- e-util/e-attachment-view.c | 4 ++-- e-util/e-send-options.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'e-util') 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"); -- cgit v1.2.3