* Fixes an invalid g_object_unref
pmo-trunk-r6157
button_accept, GTK_RESPONSE_ACCEPT,
button_cancel, GTK_RESPONSE_CANCEL,
NULL);
button_accept, GTK_RESPONSE_ACCEPT,
button_cancel, GTK_RESPONSE_CANCEL,
NULL);
- gtk_widget_set_no_show_all (button_cancel, FALSE);
modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
GTK_WINDOW (dialog), parent_window);
modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
GTK_WINDOW (dialog), parent_window);
MODEST_PROTOCOL_REGISTRY_STORE_HAS_FOLDERS));
}
g_object_unref (local_account);
MODEST_PROTOCOL_REGISTRY_STORE_HAS_FOLDERS));
}
g_object_unref (local_account);
- g_object_unref (mmc_account);
+
+ /* It could not exist */
+ if (mmc_account)
+ g_object_unref (mmc_account);
}
/* Check the target folder rules */
}
/* Check the target folder rules */