Import conic support only if It's available
authorJavier Jardón <javierjc1982@gmail.com>
Wed, 30 Sep 2009 15:34:55 +0000 (17:34 +0200)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 16 Oct 2009 14:40:21 +0000 (16:40 +0200)
https://bugs.maemo.org/show_bug.cgi?id=5241

src/hildon2/modest-connection-specific-smtp-window.c

index e310913..e2f312e 100644 (file)
 #include "widgets/modest-ui-constants.h"
 
 #include <modest-runtime.h>
+
+#if MODEST_HAVE_CONIC
 #include <tny-maemo-conic-device.h>
+#endif
 
 #include <gtk/gtktreeview.h>
 #include <gtk/gtkcellrenderertext.h>
@@ -166,11 +169,10 @@ modest_connection_specific_smtp_window_fill_with_connections (ModestConnectionSp
                                                              ModestAccountMgr *account_manager)
 {
        gboolean empty = TRUE;
-#ifdef MODEST_HAVE_CONIC
        ModestConnectionSpecificSmtpWindowPrivate *priv = 
                CONNECTION_SPECIFIC_SMTP_WINDOW_GET_PRIVATE (self);
        priv->account_manager = account_manager;
-       
+#ifdef MODEST_HAVE_CONIC
        GtkListStore *liststore = GTK_LIST_STORE (priv->model);
        
        TnyDevice *device = modest_runtime_get_device ();