priv = MODEST_HILDON2_WINDOW_MGR_GET_PRIVATE (self);
+ program = hildon_program_get_instance ();
win = g_list_find (priv->window_list, window);
if (win) {
/* this is for the case we want to register the window and it was already
g_object_ref (window);
priv->window_list = g_list_prepend (priv->window_list, window);
- program = hildon_program_get_instance ();
current_top = GTK_WIDGET (hildon_program_peek_window_stack (program));
if (!parent || ((GtkWidget *) parent != current_top)) {
gchar *account_name, *from;
ModestAccountMgr *account_mgr;
gboolean had_error = FALSE;
- ModestMainWindow *win;
+ ModestMainWindow *win = NULL;
g_return_val_if_fail (MODEST_IS_MSG_EDIT_WINDOW(edit_window), FALSE);