* cosmetics
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 25 Jan 2007 16:13:54 +0000 (16:13 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Thu, 25 Jan 2007 16:13:54 +0000 (16:13 +0000)
pmo-trunk-r738

src/modest-account-mgr-helpers.h
src/modest-ui.c

index 9457de9..fcdbf33 100644 (file)
@@ -54,6 +54,8 @@ typedef struct {
        ModestServerAccountData *store_account;
 } ModestAccountData;
 
+
+
 /**
  * modest_account_mgr_get_account_data:
  * @self: a ModestAccountMgr instance
@@ -117,7 +119,6 @@ void       modest_account_mgr_free_account_data     (ModestAccountMgr *self,
 gboolean modest_account_mgr_account_set_enabled (ModestAccountMgr *self, const gchar* name,
                                                 gboolean enabled);
 
-
 /**
  * modest_account_mgr_account_get_enabled:
  * @self: a ModestAccountMgr instance
index 5f8e194..163e7de 100644 (file)
@@ -46,6 +46,7 @@
 #include <tny-error.h>
 #include <tny-simple-list.h>
 #include <tny-msg-view.h>
+#include <tny-device.h>
 
 #define MODEST_UI_GET_PRIVATE(o)      (G_TYPE_INSTANCE_GET_PRIVATE((o), \
                                        MODEST_TYPE_UI, \
@@ -529,7 +530,7 @@ static void
 reply_forward_func (gpointer data, gpointer user_data)
 {
        ModestWidgetFactory *widget_factory;
-       TnyHeader *new_header;
+       //TnyHeader *new_header;
        TnyMsg *msg, *new_msg;
        TnyAccountStore *account_store;
        GetMsgAsyncHelper *helper;
@@ -976,6 +977,8 @@ _modest_ui_actions_on_connection_changed (TnyDevice *device,
        GtkWidget *online_toggle;
        ModestHeaderView *header_view;
        ModestWidgetFactory *widget_factory;
+
+       g_return_if_fail (main_window);
        
        widget_factory = modest_window_get_widget_factory (MODEST_WINDOW (main_window));
        header_view   = modest_widget_factory_get_header_view (widget_factory);